openapi-typescript
Advanced tools
Comparing version 7.0.3 to 7.0.4
@@ -88,3 +88,3 @@ #!/usr/bin/env node | ||
if (path.isAbsolute(output)) { | ||
return new URL(`file://${output}}`); | ||
return new URL(`file://${output}`); | ||
} | ||
@@ -91,0 +91,0 @@ return new URL(output, CWD); |
# openapi-typescript | ||
## 7.0.4 | ||
### Patch Changes | ||
- [#1746](https://github.com/openapi-ts/openapi-typescript/pull/1746) [`e705909`](https://github.com/openapi-ts/openapi-typescript/commit/e705909f2b15d8b207be4be22f329e29e5f6444b) Thanks [@phk422](https://github.com/phk422)! - fix: Correct handling of default parameter values in referenced component schema | ||
## 7.0.3 | ||
@@ -4,0 +10,0 @@ |
@@ -286,3 +286,4 @@ import { parseRef } from "@redocly/openapi-core/lib/ref-utils.js"; | ||
!options.path?.includes("parameters") && | ||
!options.path?.includes("requestBody")) | ||
!options.path?.includes("requestBody") && | ||
!options.path?.includes("requestBodies")) | ||
? undefined | ||
@@ -289,0 +290,0 @@ : QUESTION_TOKEN; |
{ | ||
"name": "openapi-typescript", | ||
"description": "Convert OpenAPI 3.0 & 3.1 schemas to TypeScript", | ||
"version": "7.0.3", | ||
"version": "7.0.4", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Drew Powers", |
@@ -460,3 +460,4 @@ import { parseRef } from "@redocly/openapi-core/lib/ref-utils.js"; | ||
!options.path?.includes("parameters") && | ||
!options.path?.includes("requestBody")) // parameters can’t be required, even with defaults | ||
!options.path?.includes("requestBody") && | ||
!options.path?.includes("requestBodies")) // can’t be required, even with defaults | ||
? undefined | ||
@@ -463,0 +464,0 @@ : QUESTION_TOKEN; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
536640
10123
30