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
{{ message }}
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.
securityDefinitions and security (and others too) are not required object for a specification file to be valid .
However when if I do not include the objects in my spec I get error messages similar to
" Data does not match any schemas from 'oneOf'........." `
Granted this may be version 3.0 (although I doubt there is a difference) When I test here: https://editor.swagger.io/ and remove the security definition object as well as all references to it it is recognized as valid.
The text was updated successfully, but these errors were encountered:
Would like some clarification on required objects for valid swagger 2.0 spec. Based on swagger-object section version 2.0 spec which can be found here --> https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#swagger-object
securityDefinitions and security (and others too) are not required object for a specification file to be valid .
However when if I do not include the objects in my spec I get error messages similar to
" Data does not match any schemas from 'oneOf'........." `
Granted this may be version 3.0 (although I doubt there is a difference) When I test here: https://editor.swagger.io/ and remove the security definition object as well as all references to it it is recognized as valid.
The text was updated successfully, but these errors were encountered: