Expose isJson and isYaml in @gitbook/openapi-parser (#3447)

This commit is contained in:
Greg Bergé
2025-07-08 10:41:46 +02:00
committed by GitHub
parent f5894bcf74
commit bd553bcf9e
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@gitbook/openapi-parser": minor
---
Expose `isJson` and `isYaml` in OpenAPI parser
+1 -1
View File
@@ -1,6 +1,6 @@
export { parseOpenAPI } from './parse';
export { dereference } from '@scalar/openapi-parser';
export { dereference, isJson, isYaml } from '@scalar/openapi-parser';
export type { AnyObject } from '@scalar/openapi-parser';
export type * from '@scalar/openapi-types';
export * from './error';