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

Update response model information for routes #846

Merged

Commits on Jun 10, 2021

  1. Update response model information for routes

    Use a single pydantic model for all routes' `response_model` and add a
    dictionary of erroneous status codes with the `ErrorResponse` model to
    all routes' `responses` property, updating the OpenAPI schemas with the
    correct mapping of response models to status codes.
    CasperWA committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    2411ad1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9054d09 View commit details
    Browse the repository at this point in the history