Skip to content
box

GitHub Action

openapi spec to json schema

v0.0.3 Pre-release

openapi spec to json schema

box

openapi spec to json schema

Retrieve openapi specification file and return json schema file

Installation

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

              

- name: openapi spec to json schema

uses: telstra/[email protected]

Learn more about this action in telstra/openapi-spec-to-json-schema

Choose a version

openapi spec to json schema

This action retrieves a validated openapi specification file from a user provided origin and returns a generated json schema file

Inputs

specification-url

Required The openapi specification origin url.

Outputs

json-schema-file

The json schema file.

Example usage

uses: telstra/[email protected]
with:
  specification-url: 'https://dev.telstra.com/sites/default/files/redocs/1620871323/messaging-api-swagger_0.yaml'