@scalar/oas-utils
Advanced tools
Comparing version 0.2.61 to 0.2.62
# @scalar/oas-utils | ||
## 0.2.62 | ||
### Patch Changes | ||
- 097ab40: fix: add mapping of header to headers for api client ingress | ||
- Updated dependencies [197e3ae] | ||
- @scalar/themes@0.9.43 | ||
## 0.2.61 | ||
@@ -4,0 +12,0 @@ |
@@ -115,6 +115,13 @@ import { z } from 'zod'; | ||
cookie: [], | ||
// deprecated TODO: add zod transform to remove | ||
header: [], | ||
headers: [], | ||
}; | ||
// Populated the separated params | ||
request.parameters?.forEach((p) => parameters[p.in].push(createParamInstance(p))); | ||
// TODO: add zod transform to remove header and only support headers | ||
if (parameters.header.length > 0) { | ||
parameters.headers = parameters.header; | ||
parameters.header = []; | ||
} | ||
// --------------------------------------------------------------------------- | ||
@@ -121,0 +128,0 @@ // Handle request body defaulting for various content type encodings |
@@ -19,3 +19,3 @@ { | ||
], | ||
"version": "0.2.61", | ||
"version": "0.2.62", | ||
"engines": { | ||
@@ -111,5 +111,5 @@ "node": ">=18" | ||
"@scalar/object-utils": "1.1.10", | ||
"@scalar/types": "0.0.17", | ||
"@scalar/themes": "0.9.42", | ||
"@scalar/openapi-types": "0.1.4" | ||
"@scalar/themes": "0.9.43", | ||
"@scalar/openapi-types": "0.1.4", | ||
"@scalar/types": "0.0.17" | ||
}, | ||
@@ -122,4 +122,4 @@ "devDependencies": { | ||
"@scalar/build-tooling": "0.1.11", | ||
"@scalar/openapi-parser": "0.8.8", | ||
"@scalar/openapi-types": "0.1.4" | ||
"@scalar/openapi-types": "0.1.4", | ||
"@scalar/openapi-parser": "0.8.8" | ||
}, | ||
@@ -126,0 +126,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
369514
7759
+ Added@scalar/themes@0.9.43(transitive)
- Removed@scalar/themes@0.9.42(transitive)
Updated@scalar/themes@0.9.43