Skip to content

v3.2: Only use YAML for examples #4577

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

Open
wants to merge 1 commit into
base: v3.2-dev
Choose a base branch
from
Open

Conversation

handrews
Copy link
Member

IIRC, we discussed a while ago that we don't need both JSON and YAML examples. And there are many examples now that are only shown in YAML. This standardizes on YAML for all OAD examples. In addition to cutting down on the ever-growing length of the spec, I find this more readable when there are a bunch of examples in a row, as you're not constantly skipping over duplicates.

We still use JSON for example payloads, and there is one example in Appendix F that discusses retrieving OADs by content type, so those continue to show JSON.

Also standardize on lowercase language names for fenced code blocks, as that was more common (I think the uppercase ones were mostly added by me).

  • schema changes are included in this pull request
  • schema changes are needed for this pull request but not done yet
  • no schema changes are needed for this pull request

We still use JSON for example payloads, and there is one example
in Appendix F that discusses retrieving OADs by content type,
so those continue to show JSON.

Also standardize on lowercase language names for fenced code
blocks, as that was more common (I think the uppercase ones
were mostly added by me).
@handrews handrews added this to the v3.2.0 milestone May 13, 2025
@handrews handrews requested review from a team as code owners May 13, 2025 23:23
@handrews handrews added the editorial Wording and stylistic issues label May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial Wording and stylistic issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant