Closed ghillairet closed 6 years ago
@ghillairet , thanks for a nice set of tests! Passed initial code review:
@tfesenko
I updated the messages and other suggestions.
Here are the new messages preceded by the invalid specs:
/pets/{petId}:
get:
summary: Info for a specific pet
operationId: showPetById
security:
- testScheme:
- foo
responses:
'200':
description: Expected response to a valid request
components:
securitySchemes:
testScheme:
type: http
/pets/{petId}:
get:
summary: Info for a specific pet
operationId: showPetById
security:
- testScheme: []
responses:
'200':
description: Expected response to a valid request
components:
securitySchemes:
testScheme:
type: oauth2
/pets/{petId}:
get:
summary: Info for a specific pet
operationId: showPetById
security:
- testScheme:
- foo
responses:
'200':
description: Expected response to a valid request
components:
securitySchemes:
testScheme:
type: oauth2
flows:
implicit:
scopes:
"write:pets": something
Looks good, @ghillairet , thanks.
Thanks! Passed QA and code review
…Name}
See #347