Skip to content

Commit

Permalink
update to dropshot 72583242d80b88561602a37013595e9f75f4f394 (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahl authored Dec 21, 2021
1 parent 082664f commit 2e6586b
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 5 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/validate-openapi-spec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: validate-openapi-spec
on:
pull_request:
paths:
- .github/workflows/validate-openapi-spec.yml
- openapi/*
workflow_dispatch:
inputs:
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install our tools
shell: bash
run: |
npm install -g @apidevtools/swagger-cli
- name: Run validation
shell: bash
run: |
for spec in openapi/*.json; do
swagger-cli validate $spec || exit
done
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions openapi/nexus.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,21 @@
},
"required": true
},
"responses": {}
"responses": {
"default": {
"description": ""
}
}
}
},
"/logout": {
"post": {
"operationId": "logout",
"responses": {}
"responses": {
"default": {
"description": ""
}
}
}
},
"/organizations": {
Expand Down

0 comments on commit 2e6586b

Please sign in to comment.