Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

components.responses are not being take into account #240

Open
konarskis opened this issue Jun 19, 2024 · 0 comments
Open

components.responses are not being take into account #240

konarskis opened this issue Jun 19, 2024 · 0 comments

Comments

@konarskis
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant