Technical Reference / speakeasy stage openapi
speakeasy stage openapi
Stage an OpenAPI document to a deployment configuration.
The speakeasy stage openapi command stages an OpenAPI document to a deployment configuration.
For more information on the base behavior of the speakeasy stage command, see the
speakeasy stage reference.
speakeasy stage openapi --slug my-openapi-doc --location ./path/to/openapi.yamlOptions
Section titled “Options”slug (required)
Section titled “slug (required)”This specifies a slug to identify the source of the OpenAPI document.
speakeasy stage openapi --slug my-openapi-doc [command options]location (required)
Section titled “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.
speakeasy stage openapi --location ./path/to/openapi.yaml [command options]This adds a human-readable name for the source. If not specified, the name defaults to the slug.
speakeasy stage openapi --name "My OpenAPI Document" [command options]