Swagger fix indentation in management YAML file. #24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: [push] | |
| jobs: | |
| validate_openapi: | |
| runs-on: ubuntu-latest | |
| name: Validate OpenAPI definitions | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install OpenAPI validator | |
| run: npm install -g @redocly/cli | |
| - name: Validate Alpaca API definitions | |
| run: redocly lint --config Swagger/redoclyconfig.yaml Swagger/AlpacaDeviceAPI_v1.yaml | |
| - name: Validate Managment API | |
| run: redocly lint --config Swagger/redoclyconfig.yaml Swagger/AlpacaManagementAPI_v1.yaml | |
| env: | |
| NODE_NO_WARNINGS: 1 |