mirror of
https://github.com/Telecominfraproject/wlan-certificate-portal-api.git
synced 2025-11-03 03:48:21 +00:00
Fixed branch
This commit is contained in:
4
.github/workflows/openapi-pages.yml
vendored
4
.github/workflows/openapi-pages.yml
vendored
@@ -5,7 +5,7 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- '**.yaml'
|
- '**.yaml'
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
@@ -20,7 +20,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Generate static HTML page with docs from OpenAPI definition
|
- name: Generate static HTML page with docs from OpenAPI definition
|
||||||
run: |
|
run: |
|
||||||
docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli:v6.2.1 generate -i https://raw.githubusercontent.com/Telecominfraproject/wlan-certificate-portal-api/master/certportal.yaml -g html2 --skip-validate-spec -o /local/
|
docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli:v6.2.1 generate -i https://raw.githubusercontent.com/Telecominfraproject/wlan-certificate-portal-api/main/certportal.yaml -g html2 --skip-validate-spec -o /local/
|
||||||
- name: Update OpenAPI docs
|
- name: Update OpenAPI docs
|
||||||
run: |
|
run: |
|
||||||
mkdir tmp-docs
|
mkdir tmp-docs
|
||||||
|
|||||||
Reference in New Issue
Block a user