Add /openapi.yaml endpoint to serve the OpenAPI specification#869
Merged
saswatamcode merged 2 commits intoobservatorium:mainfrom Jan 28, 2026
Merged
Add /openapi.yaml endpoint to serve the OpenAPI specification#869saswatamcode merged 2 commits intoobservatorium:mainfrom
saswatamcode merged 2 commits intoobservatorium:mainfrom
Conversation
This commit bundles the OpenAPI specification into a single file which makes it possible to be used by online OpenAPI editors. The YAML file has been generated by the `bundle` command of the Redocly tool (https://redocly.com/docs/cli). Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Contributor
Author
This commit adds a new `/openapi.yaml` endpoint which serves the current OpenAPI specification which is read from the static YAML definition (thanks to the `embed` standard library). Signed-off-by: Simon Pasquier <spasquie@redhat.com>
947c4d6 to
c652ebc
Compare
squat
approved these changes
Jan 27, 2026
saswatamcode
approved these changes
Jan 27, 2026
Copilot AI
pushed a commit
that referenced
this pull request
Feb 26, 2026
* change: bundle the OpenAPI spec into a single file This commit bundles the OpenAPI specification into a single file which makes it possible to be used by online OpenAPI editors. The YAML file has been generated by the `bundle` command of the Redocly tool (https://redocly.com/docs/cli). Signed-off-by: Simon Pasquier <spasquie@redhat.com> * feat: add an OpenAPI endpoint This commit adds a new `/openapi.yaml` endpoint which serves the current OpenAPI specification which is read from the static YAML definition (thanks to the `embed` standard library). Signed-off-by: Simon Pasquier <spasquie@redhat.com> --------- Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The first commit 0acaf39 moves the current specification to a singe file.
The second commit 947c4d6 adds a new
/openapi.yamlendpoint.