Skip to content
New issue

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

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

Already on GitHub? # to your account

OpenAPI Fixes + Improvements #291

Merged
merged 8 commits into from
Feb 1, 2023
Merged

OpenAPI Fixes + Improvements #291

merged 8 commits into from
Feb 1, 2023

Conversation

pablohoch
Copy link
Member

  • OpenAPI 3.1: Don't use allOf/if for unions. It's either wrong or not supported by OpenAPI 3.1 tools. The generated OpenAPI output for unions is now the same as the 3.0 version (i.e. no relation between the _type tag and the union field).
  • Add / as a server (i.e. the local MOTIS instance)
  • Add MotisError responses (HTTP 500)
  • Use shorter operation summaries because they are displayed like titles in OpenAPI viewers
  • Add a HTML viewer (served at /openapi/)
  • More RSL documentation
  • Fix some linter errors/warnings (e.g. added operationId)

@pablohoch pablohoch merged commit 67ff520 into master Feb 1, 2023
@pablohoch pablohoch deleted the openapi-fixes branch February 1, 2023 13:08
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant