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

Explore how best to present the API as a reference within these docs #6

Open
ndjones opened this issue Sep 14, 2023 · 3 comments
Open

Comments

@ndjones
Copy link
Member

ndjones commented Sep 14, 2023

Existing OpenStack API docs are generated/generable from each OpenStack project source code repository. These could be generated and embedded within this docs site as an API reference. see https://docs.openstack.org/yoga/api/index.html

@ndjones
Copy link
Member Author

ndjones commented Sep 14, 2023

Could go for a fully featured interactive API site, to make it as friendly as possible for RSE devops users e.g. https://redocly.com/redoc/

@lbrick lbrick transferred this issue from nesi/flexi-docs Sep 14, 2023
@ndjones
Copy link
Member Author

ndjones commented Sep 19, 2023

here's an example of what I think would be useful @junhuhnesi @lbrick - https://developers.citizenlab.co/ - that site uses redoc (above) to drop in a really nice API reference. we've also had a look at postman before, and it can generate API docs too. https://learning.postman.com/docs/publishing-your-api/documenting-your-api/ - there's a testing workspace here for anyone who wants to take a look https://app.getpostman.com/join-team?invite_code=80b649e76c386716ee319c699be116bf&target_code=adbb778109eef4d928e52292b4efe3b7

@lbrick
Copy link
Collaborator

lbrick commented Sep 19, 2023

I have used ReDoc documents in the past and I do really like them, as I understand its the same as a swagger endpoint. Reading the ReDoc stuff I can see it might require and endpoint to a swagger document to produce those nice API calls, which I assume is not on the Openstack endpoints.

I am looking at the postman one now to see if that doesn't require an endpoint to base its documentation on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants