Q&A (please complete the following information)
Example Swagger/OpenAPI definition
2.0:
swagger: "2.0"
info:
version: 0.0.0
title: test
paths:
/foo:
get:
responses: {}
3.0:
openapi: 3.0.1
info:
version: 0.0.0
title: test
paths:
/foo:
get:
responses: {}
Describe the bug you're encountering
The response: {} line causes two validation errors:
- should NOT have less than 1 properties
- should NOT be valid
The second error does not make sense.
Expected behavior
No "should NOT be valid" error.
Screenshots
