You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like openapi-typescript converts an OpenAPI Schema where the required is part of the in: path to be required for both path and query for typescript.
openapi-typescript version
7.4.4
Node.js version
22.6.0
OS + version
macOS 15.1.1
Description
It seems like openapi-typescript converts an OpenAPI Schema where the required is part of the
in: path
to be required for bothpath
andquery
for typescript.Example:
gets converted to:
even if it's not a required part of the
query
, only required inpath
Can someone confirm and fix this?
Reproduction
sorry, I am not yet allowed to share the full schema, is there any small template schema I can adjust and share? The Redocly gives me unrelated errors
Expected result
Required
npx @redocly/cli@latest lint
)Extra
The text was updated successfully, but these errors were encountered: