swagger_parser
swagger_parser copied to clipboard
components.responses are not being take into account
Steps to reproduce
Use the provided snippet to generate something
Expected results
The generator can use the components.responses
part which are referenced in paths
.
Actual results
The responses are not take into account and the code is not able to parse the actual response.
Your OpenApi snippet
responses:
HttpErrorResponse:
description: The request has failed
content:
application/json:
schema:
$ref: '#/components/schemas/DefaultError'
Code sample
No response
Logs
No response
Dart version and used packages versions
3.4.3
dart run swagger_parser
1.8.0
dart run swagger_parser