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

Reformating the spec for readability #566

Open
sudo-bmitch opened this issue Feb 11, 2025 · 1 comment
Open

Reformating the spec for readability #566

sudo-bmitch opened this issue Feb 11, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@sudo-bmitch
Copy link
Contributor

I'm hearing concerns about the readability of the spec, which I can sympathize with. I'd like to gather thoughts on how to improve it and see if the maintainers are open to reformating the content. Here are some suggestions:

  • Limit the smallest markdown header, since the current headings are difficult to distinguish from the rest of the text when rendered in GitHub.
  • Focus on two audiences, clients and registry implementations. Clients want workflows of APIs to run for different requests. Registry implementations are looking for a list of endpoints to implement.
  • With each endpoint, I tend to find a swagger style document easier to follow, with each parameter, header, body, status code, etc.
  • To document the client workflows, I think it would be easier to follow if they were split out from the endpoint documentation, potentially including graphics, for those unfamiliar with the OCI specs. Those client workflows could have pointers to the referenced endpoints.
@sudo-bmitch sudo-bmitch added the enhancement New feature or request label Feb 11, 2025
@abstractionfactory abstractionfactory marked this as a duplicate of #567 Feb 11, 2025
@abstractionfactory
Copy link

Hi @sudo-bmitch and others, thank you for opening this issue. While writing opentofu/opentofu#2163 we read through the spec several times. Adding visual dividers between deeply nested sections would already go a long way, but I'd be open to working on an OpenAPI spec for OCI as it would enable code generation for many languages.

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

No branches or pull requests

2 participants