Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Describe spec and schema publishing process #4363

Merged
merged 2 commits into from
Feb 20, 2025

Conversation

ralfhandl
Copy link
Contributor

Fixes #3715

Tick one of the following options:

  • 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

@ralfhandl ralfhandl requested review from a team as code owners February 14, 2025 12:47
@ralfhandl ralfhandl changed the title Describe publishing process Describe spec and schema publishing process Feb 14, 2025
CONTRIBUTING.md Outdated
The schema iterations are published independently from the specification releases [in the schema section on the spec site](https://spec.openapis.org/#openapi-specification-schemas).
Schemas are updated in and directly published from the `vX.Y-dev` branches.

As part of the publishing process, the YAML source files are converted to JSON, renamed to the relevant last-changed dates, and `WORK-IN-PROGRESS` placeholders are replaced with these dates as appropriate. This is done by the `schema-publish` workflow on each `vX.Y-dev` branch, which generates a pull request for publishing the new schema iterations to the [spec site](https://spec.openapis.org).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do I run the schema-publish workflow when I want to publish a schema? Can I do it through github's web interface, or something else?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct:

  • Actions tab
  • Select schema-publish on the left side
  • Press "Run workflow" on the right side, select branch and then "Run workflow"

I didn't add this because it is Github standard, and the UI will probably change over time.

@ralfhandl ralfhandl requested review from a team February 20, 2025 16:46
mikekistler
mikekistler previously approved these changes Feb 20, 2025
Copy link
Contributor

@mikekistler mikekistler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 👍

@ralfhandl ralfhandl requested a review from a team February 20, 2025 17:03
Copy link
Contributor

@lornajane lornajane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@lornajane lornajane merged commit f9a2302 into OAI:main Feb 20, 2025
2 checks passed
@ralfhandl ralfhandl deleted the main-contributing-schema-publish branch February 20, 2025 17:57
@ralfhandl ralfhandl mentioned this pull request Feb 26, 2025
3 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Define and document our schema publishing process
3 participants