diff --git a/.github/workflows/openapi-validation.yml b/.github/workflows/openapi-validation.yml new file mode 100644 index 0000000..3ed95e9 --- /dev/null +++ b/.github/workflows/openapi-validation.yml @@ -0,0 +1,16 @@ +--- +name: openapi-validate +on: [push] +jobs: + check-openapi-definition: + runs-on: ubuntu-latest + name: Swagger Editor Validator Remote + steps: + - name: ๐Ÿ“„ Checkout the repository + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + with: + fetch-depth: 0 + - name: ๐Ÿงช Validate OpenAPI definition + uses: char0n/swagger-editor-validate@fe35d650e9fc674505607519d0d12ab4de5d415d # v1 + with: + definition-file: docs/openapi.json