Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

redocly-openapi-cli-github-action

A Github action for running redocly openapi-cli commands

⌨️ Inputs

args

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.

💡 Quick Start

Bundle

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.

Lint

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.

📘 References

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages