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
Boolean are valid schemas
false is the equivalent of never and true the equivalent of anything:
components:
schemas:
AnyType:
true
But when I use this, I have an exception in parseSchema method
TypeError: Cannot use 'in' operator to search for 'content' in true
at SchemaParser.parseSchema (./node_modules/swagger-typescript-api/src/schema-parser/schema-parser.js:218:19)
at SchemaParserFabric.parseSchema (./node_modules/swagger-typescript-api/src/schema-parser/schema-parser-fabric.js:102:25)
at ./node_modules/swagger-typescript-api/src/code-gen-process.js:127:46
The text was updated successfully, but these errors were encountered:
Boolean are valid schemas
false is the equivalent of never and true the equivalent of anything:
components:
schemas:
AnyType:
true
But when I use this, I have an exception in parseSchema method
The text was updated successfully, but these errors were encountered: