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
Add hydra OpenAPI description #750
Conversation
Looks good to me.
|
- drop releases/releasename - document dependency - document defaultpath
Add `PUT /project/{id}`
We can skip hosting api.html by pointing to this: but changing to the master branch of the nixos/hydra repo. |
I think it'd be useful to have this hydra yaml file checked in CI for validity, and maybe even
(this is a demo error from a while back, it isn't an error now) |
@grahamc I don't mind adding codespell but would like to do so in a follow-up PR if that is OK with you. I just tried locally and codespell is acting up for me in funny ways:
I did add validation via |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Overview
This is a WIP attempt to define and publish an OpenApi 3.0 specification for hydra "REST" interface. The specification is written in yaml as
hydra.yaml
and would be added to the repository along with a browsable/explorable view which can also be used to trigger requests (currently hosted hereMotivation
TODOs
Hostingapi.html
somewhere (http://www.tpflug.me/api.html)Note that the above probably isn't a comprehensive list of things that would mean that everything is covered but if possible i'd like to get a first sensible version merged and then iterate and improve on it.
Help needed:
I am going to need some help getting this over the finishing line.
hydra.yaml
directly and help me out with all occurrences of descriptions set to???
:)