From f033d7a1dce9537409eba4fb8090910630aed8ec Mon Sep 17 00:00:00 2001 From: Randy Levensalor Date: Wed, 23 Aug 2023 08:08:08 -0600 Subject: [PATCH] Adding swagger editor validator github action --- .github/workflows/swagger-editor-validator.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/swagger-editor-validator.yml diff --git a/.github/workflows/swagger-editor-validator.yml b/.github/workflows/swagger-editor-validator.yml new file mode 100644 index 0000000000..bcdd0bc904 --- /dev/null +++ b/.github/workflows/swagger-editor-validator.yml @@ -0,0 +1,17 @@ +--- +on: + pull_request: + branches: + - main + +jobs: + test_swagger_editor_validator_remote: + runs-on: ubuntu-latest + name: Swagger Editor Validator Remote + + steps: + - uses: actions/checkout@v2 + - name: Validate OpenAPI definition + uses: char0n/swagger-editor-validate@v1.3.2 + with: + definition-file: code/API_definitions/qod-api.yaml