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

Define API using OpenAPI standard #123

Open
jlosito opened this issue Apr 22, 2024 · 8 comments · May be fixed by #124
Open

Define API using OpenAPI standard #123

jlosito opened this issue Apr 22, 2024 · 8 comments · May be fixed by #124
Labels
Feature Request For feature requests

Comments

@jlosito
Copy link

jlosito commented Apr 22, 2024

Rather than defining this API using a README, I much rather view it via the OpenAPI standard which would provide much more features compared to what Clapfoot currently has. In addition, the file that would define the API could be used to host public documentation using GitHub pages.

https://spec.openapis.org/oas/latest.html#openapi-specification

@444B
Copy link

444B commented Apr 23, 2024

I am in support of this and am happy to help implement it

@hayden-t
Copy link

nice idea, but it will never happen. 1- devs cant even fix bugs in api let alone completely restructure the format, 2 - it would break all existing integrations...

@jlosito
Copy link
Author

jlosito commented Apr 23, 2024

@hayden-t can you expand on why it would break existing integrations?

@hayden-t
Copy link

because the data structure would be different to what existing integrations have been built to use

@jlosito
Copy link
Author

jlosito commented Apr 23, 2024

@444B i just took a double look at the current schemas. I believe their api could be defined using the standard without breaking any integrations. Would you agree?

@hayden-t
Copy link

hayden-t commented Apr 23, 2024

no, not unless they ran parallel output formats, any difference would be breaking, not to say integrations couldnt adapt, but i can confidently say judging by progress here over the last 5+ years it aint going to happen.

attrib added a commit to attrib/warapi that referenced this issue Jul 5, 2024
@attrib
Copy link

attrib commented Jul 5, 2024

Not sure if he just means something like this: https://attrib.github.io/warapi/

See https://github.com/attrib/warapi/blob/master/openapi.yaml

@attrib attrib linked a pull request Jul 5, 2024 that will close this issue
@jlosito
Copy link
Author

jlosito commented Jul 5, 2024

@attrib it does! Thank you.

@philipdiehl1 philipdiehl1 added the Feature Request For feature requests label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request For feature requests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants