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.
@@ -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('__OAS__', JSON.stringify({
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,
@@ -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('__OAS__', JSON.stringify({
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fets",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "TypeScript HTTP Framework focusing on e2e type-safety, easy setup, performance & great developer experience",
5
5
  "sideEffects": false,
6
6
  "dependencies": {