name: Documentation

permissions: {}

on:
  push:
  pull_request:
    types: [synchronize, opened]

jobs:

  test:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4

      - uses: actions/setup-python@v5
        with:
          python-version: '3.13'
          cache: 'pip'

      - run: pip install openapi-spec-validator

      - run: openapi-spec-validator support/doc/api/openapi.yaml
