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
While that’s technically valid syntax, the x-swagger-bake namespace is a designated custom namespace, which means a generic tool like openapi-typescript doesn’t know how to interpret that. Perhaps in this schema it follows a predictable format, but another schema could choose to use that exact same namespace for something different, and both would be correct and valid.
The fix for this would be to simply ignore all x-* namespaces from the generated output (as the spec outlines). It would then be up to you to add those back in, if you wanted, manually with the transform()/postTransform() hooks (v6; upcoming) or the format() hook (v5).
Description
I was trying to convert https://carapi.app/swagger.json
It could be related to vocab
openapi-typescript
^6.0.0-pre.0
v16.18.0
macOS 13
Reproduction
Expected result
It should be a valid typescript file
Checklist
The text was updated successfully, but these errors were encountered: