Skip to content

api spec issues #535

Closed
Closed
@jessfraz

Description

@jessfraz
  1. The spec fails to validate, might want to run a validation on commits that change it, here's a sample github action, take it or leave it:
name: validate-openapi-spec
on:
  pull_request:
    paths:
      - .github/workflows/validate-openapi-spec.yml
      - spec.json
  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: |
          swagger-cli validate spec.json

Replace with the path to the spec....

  1. Nothing has tags, if we want to generate docs or anything else, tags would be very VERY useful... right now, this makes generating anything super annoying...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions