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
What happened?
Suggest null in schema->type for OpenApi 3.0
What should have happened instead?
Null should not displayed in openapi 3.0 definition
Minimal reproducible OpenAPI snippet
openapi: 3.0.0servers:
- url: //petstore.swagger.io/v2description: Default serverinfo:
description: Testversion: 1.0.0title: Swagger PetstoretermsOfService: 'http://swagger.io/terms/'contact:
name: API Supportemail: [email protected]url: https://github.com/Redocly/redoclicense:
name: Apache 2.0url: 'http://www.apache.org/licenses/LICENSE-2.0.html'paths:
/pet:
post:
tags:
- petsummary: Add a new pet to the storedescription: Add new pet to the store inventory.operationId: addPetresponses:
'200':
description: wrong type suggestionscontent:
application/json:
schema:
type: null <--here is problem
Screenshots
The text was updated successfully, but these errors were encountered:
What happened?
Suggest
null
in schema->type for OpenApi 3.0What should have happened instead?
Null should not displayed in openapi 3.0 definition
Minimal reproducible OpenAPI snippet
Screenshots
The text was updated successfully, but these errors were encountered: