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

Downloaded file does not include referenced definitions #2496

Open
mkraszew opened this issue Mar 7, 2024 · 0 comments
Open

Downloaded file does not include referenced definitions #2496

mkraszew opened this issue Mar 7, 2024 · 0 comments

Comments

@mkraszew
Copy link

mkraszew commented Mar 7, 2024

Describe the bug
In our API definitions we use shared models, example below. Downloaded file does not include referenced definitions.

Expected behavior
I would expect that in the downloaded file we have also included shared model dto or there is a zip file with all required files included.

Minimal reproducible OpenAPI snippet(if possible)
Example:

    '401':
      $ref: ./shared-dto-model.yml#/components/responses/Unauthorized
    '403':
      $ref: ./shared-dto-model.yml#/components/responses/Forbidden
    '404':
      description: Should be returned when not found entity
      content:
        application/json:
          schema:
            $ref: ./shared-dto-model.yml#/components/schemas/ErrorResponse
    '500':
      $ref: ./shared-dto-model.yml#/components/responses/InternalServerError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant