Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
0a45c89
Merge pull request #391 from OAI/dev
lornajane Sep 8, 2026
b9cb0ef
Merge pull request #396 from OAI/dev
baywet Sep 10, 2026
5f387a7
Merge pull request #400 from OAI/dev
lornajane Sep 22, 2026
78aedbd
Prepare Release 1.2.0
lornajane Sep 22, 2026
dbfdd56
Merge pull request #401 from OAI/v1.2.0-rel
lornajane Sep 22, 2026
fa6c19a
Better spec config values
lornajane Sep 22, 2026
2f624f9
Merge pull request #402 from lornajane/fix/better-spec-config
baywet Sep 22, 2026
620b4c5
Switch order of links
lornajane Sep 22, 2026
908ed2f
Merge pull request #403 from lornajane/fix/better-spec-config
baywet Sep 22, 2026
6cc1728
Pick up the new publishing config option
lornajane Sep 27, 2026
f8e02bd
Pick up new build-infra 1.1.0 and dependencies
lornajane Sep 29, 2026
9785e4b
Merge pull request #405 from lornajane/chore/update-publishing-config
lornajane Sep 29, 2026
a454666
ci: Update workflow triggers for schema publishing
baywet Sep 29, 2026
178c63f
Update contributing branch guidance
baywet Sep 29, 2026
6039ddc
Fix AI policy link validation
baywet Sep 29, 2026
96027ad
chore: Update enforcement policy on AI-generated content
baywet Sep 29, 2026
c0e1258
Fix AI policy grammar
baywet Sep 29, 2026
b033a5e
Merge pull request #406 from OAI/baywet-patch-1
baywet Oct 6, 2026
d4cc4c8
Merge pull request #407 from baywet/docs/393-contributing-guidance
baywet Oct 6, 2026
be54407
ci: adds branches auto-sync workflows
baywet Oct 6, 2026
41f12d1
ci: updates the agenda template to include additional links to check
baywet Oct 6, 2026
34f0185
Merge pull request #414 from OAI/ci/update-agenda
baywet Oct 20, 2026
b6fd4c5
Merge pull request #413 from OAI/ci/sync-workflows
baywet Oct 20, 2026
7832723
docs: adds contributing guideline for the dev branch
baywet Nov 3, 2026
9cd6cd3
Apply suggestion from @mikekistler
baywet Nov 3, 2026
00a09d0
fix: bad link to schemas tests
smikulcik Nov 3, 2026
f798050
Merge pull request #420 from baywet/docs/contributing-dev-updates
lornajane Nov 3, 2026
32f6c8b
Merge pull request #421 from smikulcik/fixGHActions
baywet Nov 3, 2026
4b70b08
Restored src/ and tests/
github-actions[bot] Nov 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/templates/agenda.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,10 @@

Add comments to this discussion to add items to the agenda for the meeting.

In addition to the comments on this discussion consider having a look at:

1. [The open pull requests](https://github.com/OAI/Overlay-Specification/pulls/).
1. [The open issues](https://github.com/OAI/Overlay-Specification/issues/).
1. [The open overlay schema/specification publishing pull requests](https://github.com/OAI/spec.openapis.org/pulls/).
1. [The open overlay learn pull requests](https://github.com/OAI/learn.openapis.org/pulls).

4 changes: 2 additions & 2 deletions .github/workflows/schema-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ name: schema-publish
on:
push:
branches:
- main
- "v[0-9].[0-9]-dev"
paths:
- "schemas/v[0-9].[0-9]/*.yaml"
- "src/schemas/validation/*.yaml"
workflow_dispatch: {}

jobs:
Expand Down
77 changes: 77 additions & 0 deletions .github/workflows/sync-dev-to-vX.Y-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: sync-dev-to-vX.Y-dev

# author: @ralfhandl

#
# This workflow creates PRs to update the vX.Y-dev branch with the latest changes from dev
#

# run this on push to dev
on:
push:
branches:
- dev
workflow_dispatch: {}

jobs:
sync-branches:
if: github.repository == 'OAI/Overlay-Specification'
runs-on: ubuntu-latest
steps:
- name: Generate access token
id: generate-token
uses: actions/create-github-app-token@v3
with:
client-id: ${{ secrets.OAI_SPEC_PUBLISHER_APPID }}
private-key: ${{ secrets.OAI_SPEC_PUBLISHER_PRIVATE_KEY }}

- name: Checkout repository
uses: actions/checkout@v7
with:
fetch-depth: 0
token: ${{ steps.generate-token.outputs.token }}

- name: Create pull requests
id: pull_requests
shell: bash
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

DEV_BRANCHES=$(git branch -r --list origin/v?.?-dev)
for DEV_BRANCH in $DEV_BRANCHES; do
BASE=${DEV_BRANCH:7}
SYNC="$BASE-sync-with-$HEAD"

git checkout -b $SYNC origin/$SYNC || git checkout -b $SYNC origin/$BASE
git merge origin/$HEAD -m "Merge $HEAD into $SYNC"
git checkout origin/$BASE src/
# exclude mjs files because we want to sync from the head
# neutralizes non-zero exit code because an empty selection result returns 1
git checkout origin/$BASE -- tests/ ':!*.mjs' || echo ""
# Preserve the destination branch's schema test runner.
git checkout "origin/$BASE" -- tests/schema.test.mjs
git commit -m "Restored src/ and tests/" || echo ""
git push -u origin $SYNC

EXISTS=$(gh pr list --base $BASE --head $SYNC \
--json number --jq '.[] | .number')
if [ ! -z "$EXISTS" ]; then
echo "PR #$EXISTS already wants to merge $SYNC into $BASE"
continue
fi

PR=$(gh pr create --base $BASE --head $SYNC \
--label "Housekeeping" \
--title "$BASE: sync with $HEAD" \
--body "Merge relevant changes from \`$HEAD\` into \`$BASE\`.")
echo ""
echo "PR to sync $BASE with $HEAD: $PR"
sleep 60 # allow status checks to be triggered

gh pr checks $PR --watch --required || continue
gh pr merge $PR --merge --admin
done
env:
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
HEAD: dev
67 changes: 67 additions & 0 deletions .github/workflows/sync-main-to-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: sync-main-to-dev

# author: @ralfhandl

#
# This workflow creates PRs to update the dev branch with the latest changes from main
#

# run this on push to main
on:
push:
branches:
- main
workflow_dispatch: {}

jobs:
sync-branch:
if: github.repository == 'OAI/Overlay-Specification'
runs-on: ubuntu-latest
steps:
- name: Generate access token
id: generate-token
uses: actions/create-github-app-token@v3
with:
client-id: ${{ secrets.OAI_SPEC_PUBLISHER_APPID }}
private-key: ${{ secrets.OAI_SPEC_PUBLISHER_PRIVATE_KEY }}

- name: Checkout repository
uses: actions/checkout@v7
with:
fetch-depth: 0
token: ${{ steps.generate-token.outputs.token }}

- name: Create pull request
id: pull_request
shell: bash
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
SYNC="$BASE-sync-with-$HEAD"

git checkout -b $SYNC origin/$SYNC || git checkout -b $SYNC origin/$BASE
git merge origin/$HEAD -m "Merge $HEAD into $SYNC"
git checkout origin/$BASE src/
# exclude mjs files because we want to sync from the head
# neutralizes non-zero exit code because an empty selection result returns 1
git checkout origin/$BASE -- tests/ ':!*.mjs' || echo ""
# Preserve the destination branch's schema test runner.
git checkout "origin/$BASE" -- tests/schema.test.mjs
git commit -m "Restored src/ and tests/" || echo ""
git push -u origin $SYNC

EXISTS=$(gh pr list --base $BASE --head $SYNC \
--json number --jq '.[] | .number')
if [ ! -z "$EXISTS" ]; then
echo "PR #$EXISTS already wants to merge $SYNC into $BASE"
exit 0
fi

gh pr create --base $BASE --head $SYNC \
--label "Housekeeping" \
--title "$BASE: sync with $HEAD" \
--body "Merge relevant changes from \`$HEAD\` into \`$BASE\`."
env:
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
HEAD: main
BASE: dev
1 change: 1 addition & 0 deletions .linkspector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ dirs:
useGitIgnore: true
ignorePatterns:
- pattern: 'stackoverflow.com' # has bot protection
- pattern: 'w3.org' # returns 403 for automated requests
63 changes: 63 additions & 0 deletions AI.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# OpenAPI Initiative AI Policy

The OpenAPI Initiative is a project that brings together experienced industry experts to collaborate on an open, shared standard that benefits us all.
It is the result of shared ideas, thoughtful discussion, and careful curation over time.
As the tools landscape changes, the way we work together on that shared vision should not change.

Well-thought-out and meaningful contributions will always be welcome and considered for their merits, however the advent of AI-generated interactions makes this policy a necessary addition to the project.
We encourage humans to engage and to gain experience with the project and further the mission, but our volunteer maintainers are not to be put in a position of expending more effort on reviewing contributions than was used to create them because the project is unsustainable in that scenario.

TL;DR we do permit use of AI, with disclosure, but low-effort, inaccurate or overly verbose contributions will be dismissed.

## AI and Standards Development

The nature of this project provides a very particular context and any tool (including AI) should be applied with consideration to the context.
The tools you use day-to-day can feel helpful, but we expect you to consider how they may best add value to each task within the project.

Standards development means devising and developing standards that do not yet exist, with knowledge of the standards landscape and ongoing work in other standards projects.
Most AI tools are trained on existing or outdated content, making them less useful for standards development than they might be in other applications, so bear that perspective in mind when working with AI on specification improvements or proposals.

## Permitted Use

AI tools may be used to support contributions to OpenAPI Initiative projects, including use of AI for drafting, editing, checking consistency, or exploring ideas.
However, you are solely responsible for every part of your submission - the content, its accuracy, and its appropriateness for the project.
You should expect to be asked followup questions about any detail of your contribution and to have already considered your work as deeply as our maintainers will when they review it.
Using AI can help you to do a good job but we expect you to use these tools intentionally and considerately for the project and audience.

## Disclosure and Accountability

If AI tools were used in preparing a contribution beyond simple autocomplete or spellcheck, this must be disclosed in the pull request or issue description.
Add a note with a simple overview of how AI was used to your work and be prepared to answer further questions on that usage.

You must be able to explain and defend every part of your contribution.
If a reviewer asks why a particular design decision was made, "the AI suggested it" is not an acceptable answer.
Contributions where the submitter cannot demonstrate understanding of the material will be closed without further discussion or explanation.

## Discussion Conduct

Discussions in OpenAPI Initiative projects are for humans.
Comments that restate or summarise what has already been said, without advancing the conversation, add burden to volunteers and will be removed.
A useful comment adds new information, identifies a constraint, asks a precise question, or proposes a concrete resolution.
We expect you to make good-faith contributions that are concise and to the intended point; overly verbose or general contributions will be hidden or removed.

Do not use AI to generate issue comments, discussion replies, or PR descriptions.
These are the primary record of design reasoning for the project; they must reflect genuine human thought.

Do not use AI to summarise discussion content and then reply to the summary.
The individual points raised by the other participants all have value and the nuance is one of the main strengths of discussion between experts.

## Enforcement

Maintainers reserve the right to close any pull request, issue, or discussion thread that appears to represent low-effort or undisclosed AI-generated content, without providing detailed justification.
Repeated violations may result in a block from OpenAPI Initiative repositories.

Reviewer time and expertise are the scarcest resources this project has, and so this policy is there to protect them and ensure the long-term health and viability of the project.
You are always welcome to reach out to us via GitHub or Slack to discuss any of these points or their application.

## Acknowledgements

This policy builds on and acknowledges the work of:

- [Mastodon AI Contribution Policy](https://github.com/mastodon/.github/blob/main/AI_POLICY.md)
- [W3C: Use of Large Language Models in Standards Work](https://www.w3.org/TR/llms-standards/)
- [FastAPI / tiangolo contributing guidelines](https://tiangolo.com/open-source/contributing/#automated-code-and-ai), in particular the framing of low-effort AI submissions as a denial-of-service attack on human effort
Loading
Loading