evcc-io / evcc
7,047 Gosolar charging ☀️🚘
evcc Specification
Located in .github/workflows/openapi-validate.yml on branch HEAD
3.x (YAML)
YAML
0.6 KB
Raw YAML Specification
name: openapi-validate
permissions:
contents: read
on:
workflow_dispatch:
pull_request:
paths:
- "server/openapi.yaml"
- "server/openapi.state.yaml"
- ".github/workflows/openapi-validate.yml"
jobs:
validate-openapi:
name: Validate OpenAPI spec
runs-on: depot-ubuntu-24.04-arm
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Go
uses: actions/setup-go@v7
with:
go-version: stable
- name: Validate OpenAPI spec
run: go run github.com/getkin/kin-openapi/cmd/[email protected] -ext -- server/openapi.yaml