We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b9c21f + a96838a commit 9305b47Copy full SHA for 9305b47
.github/workflows/main.yml
@@ -0,0 +1,25 @@
1
+name: Validate OpenAPI definition
2
+on: [push]
3
+
4
+jobs:
5
+ test_swagger_editor_validator_service:
6
+ runs-on: ubuntu-latest
7
+ name: Swagger Editor Validator Service
8
9
+ # Service containers to run with `runner-job`
10
+ services:
11
+ # Label used to access the service container
12
+ swagger-editor:
13
+ # Docker Hub image
14
+ image: swaggerapi/swagger-editor
15
+ ports:
16
+ # Maps port 8080 on service container to the host 80
17
+ - 80:8080
18
19
+ steps:
20
+ - uses: actions/checkout@v2
21
+ - name: Validate OpenAPI definition
22
+ uses: char0n/swagger-editor-validate@v1
23
+ with:
24
+ swagger-editor-url: http://localhost/
25
+ definition-file: openapi.yaml
0 commit comments