@scalar/openapi-parser 0.2.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +2763 -2843
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @scalar/openapi-parser
|
|
2
2
|
|
|
3
|
+
## 0.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 2498fc2: fix: make new parser behave like previous one on missing info.version
|
|
8
|
+
|
|
9
|
+
## 0.3.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- c28d766: fix: circular references can not be resolved
|
|
14
|
+
- c28d766: fix: references inside references are not resolved
|
|
15
|
+
- c28d766: refactor: rewrote the whole parser (again)
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 0e98fdb: chore: add light-weight browser polyfill to join paths
|
|
20
|
+
|
|
3
21
|
## 0.2.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1246,6 +1246,11 @@ export declare namespace ResolvedOpenAPIV3_1 {
|
|
|
1246
1246
|
export type TagObject = ResolvedOpenAPIV3.TagObject;
|
|
1247
1247
|
}
|
|
1248
1248
|
|
|
1249
|
+
/**
|
|
1250
|
+
* Takes a specification and resolves all references.
|
|
1251
|
+
*/
|
|
1252
|
+
export declare function resolveReferences(input: AnyObject): ResolvedOpenAPI.Document<EmptyObject>;
|
|
1253
|
+
|
|
1249
1254
|
export declare type ResolveResult = {
|
|
1250
1255
|
valid: boolean;
|
|
1251
1256
|
version: string | undefined;
|