Skip to Content

gram stage openapi

The gram stage openapi command stages an OpenAPI document to a deployment configuration.

Usage

gram stage openapi --slug my-openapi-doc --location ./path/to/openapi.yaml

Options

slug (required)

This specifies a slug to identify the source of the OpenAPI document.

gram stage openapi --slug my-openapi-doc [command options]

location (required)

This specifies the location of an OpenAPI document (in JSON or YAML format). The location can be a local file or a URL.

gram stage openapi --location ./path/to/openapi.yaml [command options]

name

This adds a human-readable name for the source.

gram stage openapi --name "My OpenAPI Document" [command options]

Last updated on