Skip to content

Commit 7a1825c

Browse files
committed
Using editor-based workflow validation instead of validator API.
1 parent f53744d commit 7a1825c

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

.github/workflows/oas.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: OpenAPI validation
2+
on:
3+
push:
4+
branches: [ master, v25, v26, v27 ]
5+
pull_request:
6+
branches: [ master, v25, v26, v27 ]
7+
8+
permissions:
9+
id-token: none
10+
contents: read
11+
12+
jobs:
13+
validate:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v6
18+
- name: Validate OpenAPI definition
19+
uses: swaggerexpert/swagger-editor-validate@v1
20+
with:
21+
definition-file: example/example.documentation.yaml

example/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ describe("Example", async () => {
599599
});
600600
});
601601

602-
describe("OpenAPI Documentation", () => {
602+
describe.skip("OpenAPI Documentation", () => {
603603
test.extend("response", async ({ signal }) => {
604604
const data = await readFile("example.documentation.yaml", "utf-8");
605605
try {

0 commit comments

Comments
 (0)