fets 0.1.3 → 0.1.4
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/cjs/plugins/openapi.js +1 -1
- package/esm/plugins/openapi.js +1 -1
- package/package.json +1 -1
package/cjs/plugins/openapi.js
CHANGED
|
@@ -21,7 +21,7 @@ function useOpenAPI({ oasEndpoint, swaggerUIEndpoint, baseOas: oas, swaggerUIOpt
|
|
|
21
21
|
router.route({
|
|
22
22
|
method: 'GET',
|
|
23
23
|
path: swaggerUIEndpoint,
|
|
24
|
-
handler: () => new Response_js_1.Response(swagger_ui_html_js_1.default.replace('
|
|
24
|
+
handler: () => new Response_js_1.Response(swagger_ui_html_js_1.default.replace('__SWAGGER_UI_OPTIONS__', JSON.stringify({
|
|
25
25
|
spec: oas,
|
|
26
26
|
dom_id: '#swagger-ui',
|
|
27
27
|
displayOperationId: true,
|
package/esm/plugins/openapi.js
CHANGED
|
@@ -17,7 +17,7 @@ export function useOpenAPI({ oasEndpoint, swaggerUIEndpoint, baseOas: oas, swagg
|
|
|
17
17
|
router.route({
|
|
18
18
|
method: 'GET',
|
|
19
19
|
path: swaggerUIEndpoint,
|
|
20
|
-
handler: () => new Response(swaggerUiHtml.replace('
|
|
20
|
+
handler: () => new Response(swaggerUiHtml.replace('__SWAGGER_UI_OPTIONS__', JSON.stringify({
|
|
21
21
|
spec: oas,
|
|
22
22
|
dom_id: '#swagger-ui',
|
|
23
23
|
displayOperationId: true,
|