@mintlify/common 1.0.1202 → 1.0.1204
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/dist/openapi/additionalOperations.d.ts +5 -0
- package/dist/openapi/additionalOperations.js +63 -0
- package/dist/openapi/filenameUtils.d.ts +1 -1
- package/dist/openapi/filenameUtils.js +8 -2
- package/dist/openapi/findNavGroup.d.ts +3 -3
- package/dist/openapi/findNavGroup.js +9 -3
- package/dist/openapi/generateOpenApiPages.d.ts +4 -2
- package/dist/openapi/generateOpenApiPages.js +30 -53
- package/dist/openapi/getOpenApiOperationMethodAndEndpoint.js +20 -15
- package/dist/openapi/getTagDisplayName.d.ts +1 -1
- package/dist/openapi/index.d.ts +1 -0
- package/dist/openapi/index.js +1 -0
- package/dist/openapi/parseApiString.js +4 -6
- package/dist/openapi/parseOpenApiString.d.ts +4 -3
- package/dist/openapi/parseOpenApiString.js +24 -26
- package/dist/openapi/querystringParameters.d.ts +5 -0
- package/dist/openapi/querystringParameters.js +81 -0
- package/dist/openapi/tagHierarchy.d.ts +15 -0
- package/dist/openapi/tagHierarchy.js +101 -0
- package/dist/openapi/validate.js +24 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/openapi.d.ts +3 -2
- package/package.json +4 -4
package/dist/types/openapi.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { OpenAPIV3_2 } from '@mintlify/validation';
|
|
1
2
|
import { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from 'openapi-types';
|
|
2
|
-
export type PathItemObject = OpenAPIV2.PathItemObject | OpenAPIV3.PathItemObject | OpenAPIV3_1.PathItemObject;
|
|
3
|
-
export type OperationObject = OpenAPIV2.OperationObject | OpenAPIV3.OperationObject | OpenAPIV3_1.OperationObject;
|
|
3
|
+
export type PathItemObject = OpenAPIV2.PathItemObject | OpenAPIV3.PathItemObject | OpenAPIV3_1.PathItemObject | OpenAPIV3_2.PathItemObject;
|
|
4
|
+
export type OperationObject = OpenAPIV2.OperationObject | OpenAPIV3.OperationObject | OpenAPIV3_1.OperationObject | OpenAPIV3_2.OperationObject;
|
|
4
5
|
export type SecuritySchemeObject = OpenAPIV2.SecuritySchemeObject | OpenAPIV3.SecuritySchemeObject;
|
|
5
6
|
export type Parameter = OpenAPIV2.Parameter | OpenAPIV3.ParameterObject;
|
|
6
7
|
export type Response = OpenAPIV2.ResponseObject | OpenAPIV3.ResponseObject | OpenAPIV3_1.ResponseObject;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintlify/common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1204",
|
|
4
4
|
"description": "Commonly shared code within Mintlify",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
"dependencies": {
|
|
78
78
|
"@asyncapi/parser": "3.4.0",
|
|
79
79
|
"@mintlify/mdx": "4.0.7",
|
|
80
|
-
"@mintlify/models": "0.0.
|
|
80
|
+
"@mintlify/models": "0.0.365",
|
|
81
81
|
"@mintlify/openapi-parser": "0.0.9",
|
|
82
|
-
"@mintlify/validation": "0.1.
|
|
82
|
+
"@mintlify/validation": "0.1.890",
|
|
83
83
|
"@sindresorhus/slugify": "2.2.0",
|
|
84
84
|
"@types/mdast": "4.0.4",
|
|
85
85
|
"acorn": "8.11.2",
|
|
@@ -144,5 +144,5 @@
|
|
|
144
144
|
"typescript": "5.5.3",
|
|
145
145
|
"vitest": "2.1.9"
|
|
146
146
|
},
|
|
147
|
-
"gitHead": "
|
|
147
|
+
"gitHead": "29b35d8141e0907ea168a0d355a276572e7065ba"
|
|
148
148
|
}
|