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
I have an API Swagger 2.0 schema auto generated from Azure API. To have a nullable property, Azure only supports "x-nullable" so the definition of one property in model migth look like :
In v6 and beyond we’re dropping Swagger 2.0 support (#961). And in newer versions, x-* properties are ignored and should be handled by the consumer.
You can provide an override either with the format() option (v5) or the transform()/postTransform() options (v6) so you can control exactly what gets generated.
Uh oh!
There was an error while loading. Please reload this page.
Hi there,
I have an API Swagger 2.0 schema auto generated from Azure API. To have a nullable property, Azure only supports "x-nullable" so the definition of one property in model migth look like :
But when I do :
npx openapi-typescript ..\schema.json --output .\services\api.ts --version 2
The typescript definition look like :
The text was updated successfully, but these errors were encountered: