Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
box

GitHub Action

OpenAPI CLI Bundle

v0.0.2

OpenAPI CLI Bundle

box

OpenAPI CLI Bundle

Bundle a multiple file OpenAPI spec into a single file using Redocly's openapi-cli

Installation

Copy and paste the following snippet into your .yml file.

              

- name: OpenAPI CLI Bundle

uses: hilary/openapi-cli-bundle-action@v0.0.2

Learn more about this action in hilary/openapi-cli-bundle-action

Choose a version

OpenAPI CLI Bundle action

Bundle a multiple file OpenAPI spec into a single file using

Credits

This Github Action is a wrapper for Redocly's openapi-cli bundle command.

Usage

steps:
  - name: checkout spec
    uses: actions/checkout@v2
  - name: bundle spec
    uses: hilary/openapi-cli-bundle-action@v0.0.1
    with:
      base-spec: My-API.yml
      bundled-spec: dist/My-API-bundled.yml