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
Using openapi-typescript version 6.7.6 this generates
/**
* Format: int32
* @description Retained9
* This property is...
*
* @default 100
*/ Retained9?: number | null;
But using openapi-typescript version 7.4.4 this generates
/**
* Format: int32
* @description Retained9
* This property is used...
*
* @default 100
*/
Retained9: number;
It is good that the useless and annoying ? has gone, but in the specification the property is nullable and therefore it is an error to have removed the | null.
The text was updated successfully, but these errors were encountered:
Here is a property in my
swagger.json
Using
openapi-typescript
version6.7.6
this generatesBut using
openapi-typescript
version7.4.4
this generatesIt is good that the useless and annoying
?
has gone, but in the specification the property is nullable and therefore it is an error to have removed the| null
.The text was updated successfully, but these errors were encountered: