Skip to content

✨ [#16] Add URN reference #154

✨ [#16] Add URN reference

✨ [#16] Add URN reference #154

Workflow file for this run

name: OAS
on:
push:
branches:
- main
- stable/*
tags:
- "*"
pull_request:
workflow_dispatch:
jobs:
oas:
name: Checks
strategy:
matrix:
component:
- taken
uses: maykinmedia/open-api-workflows/.github/workflows/oas.yml@v6
with:
python-version: "3.12"
apt-packages: "libgdal-dev gdal-bin"
django-settings-module: openvtb.conf.ci
oas-generate-command: >2
bin/generate_schema_for_component.sh ${{ matrix.component }}
src/openvtb/components/${{ matrix.component }}/openapi.yaml
schema-path: src/openvtb/components/${{ matrix.component }}/openapi.yaml
oas-artifact-name: ${{ matrix.component }}-api-oas
node-version-file: ".nvmrc"
spectral-version: "^6.15.0"
openapi-to-postman-version: "^5.0.0"
postman-artifact-name: ${{ matrix.component }}-api-postman-collection
openapi-generator-version: "^2.20.0"
spectral-ruleset: https://static.developer.overheid.nl/adr/2.1/ruleset.yaml