Skip to content

Importing from OpenAPI ​

WARNING

Only OpenAPI 3.0 and higher is supported. Prepare your OpenAPI spec before running the command. Add request and response examples, default values and specify required params

OpenAPI is a widely used specification for defining APIs. Our first-class OpenAPI integration lets you generate workflows from your API spec on the fly

Example: Swagger Petstore 3.0

stepci generate https://petstore3.swagger.io/api/v3/openapi.json

Result:

Success! The workflow file can be found at ./workflow.yml

INFO

Configuration options for stepci generate command can be found in the CLI Reference