Skip to content

OpenAPI with $ref responseBodies don't get processed correctly #702

Closed

Description

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

OpenAPI Spec File
A link to your openapi.json which produces this issue.

Desktop (please complete the following information):

  • OS: [e.g. macOS 10.15.1]
  • Python Version: [e.g. 3.8.0]
  • openapi-python-client version [e.g. 0.1.0]

Additional context
Add any other context about the problem here.

Activity

  1. ghost added
    🐞bug
    on Nov 16, 2022
  2. supermihi commented on Jul 13, 2023

    @supermihi
    Contributor

    Any news on this? Do you consider merging the fix? Is there something that blocks that?

  3. joaonc commented on Sep 3, 2024

    @joaonc

    This is working and this ticket can be closed, imo.

    "responses": {
      "200": {
        "description": "Ok",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/MyModel"
            }
          }
        }
      }
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions