@questpie/openapi 3.0.11 → 3.0.13
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/server.d.mts +1 -6
- package/dist/server.mjs +0 -5
- package/package.json +2 -2
package/dist/server.d.mts
CHANGED
|
@@ -48,7 +48,7 @@ interface ScalarConfig {
|
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Configuration for the OpenAPI module.
|
|
51
|
-
*
|
|
51
|
+
* Export from `config/openapi.ts` via `openApiConfig()`.
|
|
52
52
|
*/
|
|
53
53
|
interface OpenApiModuleConfig extends OpenApiConfig {
|
|
54
54
|
/** Scalar UI options */
|
|
@@ -168,11 +168,6 @@ declare function docsRoute(config?: OpenApiConfig & {
|
|
|
168
168
|
* export default openApiConfig({ info: { title: "My API", version: "1.0.0" } });
|
|
169
169
|
* ```
|
|
170
170
|
*
|
|
171
|
-
* Or pass config directly for backward compatibility:
|
|
172
|
-
* ```ts
|
|
173
|
-
* openApiModule({ info: { title: "My API" } })
|
|
174
|
-
* ```
|
|
175
|
-
*
|
|
176
171
|
* @example Static (reads config from config/openapi.ts):
|
|
177
172
|
* ```ts title="questpie/server/modules.ts"
|
|
178
173
|
* import { openApiModule } from "@questpie/openapi";
|
package/dist/server.mjs
CHANGED
|
@@ -1185,11 +1185,6 @@ function docsRoute(config) {
|
|
|
1185
1185
|
* export default openApiConfig({ info: { title: "My API", version: "1.0.0" } });
|
|
1186
1186
|
* ```
|
|
1187
1187
|
*
|
|
1188
|
-
* Or pass config directly for backward compatibility:
|
|
1189
|
-
* ```ts
|
|
1190
|
-
* openApiModule({ info: { title: "My API" } })
|
|
1191
|
-
* ```
|
|
1192
|
-
*
|
|
1193
1188
|
* @example Static (reads config from config/openapi.ts):
|
|
1194
1189
|
* ```ts title="questpie/server/modules.ts"
|
|
1195
1190
|
* import { openApiModule } from "@questpie/openapi";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@questpie/openapi",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.13",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/questpie/questpie.git",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"check-types": "tsc --noEmit"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"questpie": "^3.2.
|
|
46
|
+
"questpie": "^3.2.2",
|
|
47
47
|
"zod": "^4.2.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|