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

fix(codegen) OpenAPI now works with cargo-progenitor #146

Merged
merged 3 commits into from
Oct 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -786,9 +786,9 @@ components:
City population size category (small (0), medium (1), large (2))

enum:
- small
- medium
- large
- 0
- 1
- 2
example: 2
population:
type: integer
Expand Down Expand Up @@ -1459,6 +1459,10 @@ components:
bad_request:
description: >
Your request was formatted incorrectly or missing required parameters.
content:
application/json:
schema:
$ref: "#/components/schemas/errors"

rating:
description: "A city rating"
Expand Down Expand Up @@ -1542,6 +1546,10 @@ components:
description: >
You weren't authorized to make your request; most likely this indicates an issue
with your credentials or permissions.
content:
application/json:
schema:
$ref: "#/components/schemas/errors"

not_found:
description: >
Expand Down