OpenAPI CLI Github Action
ActionsAbout
v1.0.0
LatestBy trybeapp
Tags
(2)The arguments to be provided to the redocly openapi cli command.
By default this is empty so that redocly openapi cli will print a note about its correct usage.
jobs:
bundle:
runs-on: ubuntu-latestname: bundlesteps:
- name: Checkoutuses: actions/checkout@v2
- name: openapi bundleuses: trybeapp/redocly-openapi-cli-github-action@v0.0.1with:
args: 'bundle test/petstore.yml'This example uses the bundle action to generate a HTML bundle for the petstore.yml OpenAPI definition.
jobs:
lint:
runs-on: ubuntu-latestname: lintsteps:
- name: Checkoutuses: actions/checkout@v2
- name: openapi lintuses: trybeapp/redocly-openapi-cli-github-action@v0.0.1with:
args: 'lint test/petstore.yml'This example validates your OpenAPI definition files to ensure they do not contain errors and have a valid structure according to the OpenAPI specifications.
OpenAPI CLI Github Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.