Speakeasy Workflow File
Workflow configuration file. Read more at https://www.speakeasy.com/docs/workflow-file-reference
| Type | object |
|---|---|
| File match |
**/.speakeasy/workflow.yaml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/speakeasy-workflow-file/latest.json |
| Source | https://raw.githubusercontent.com/speakeasy-api/sdk-gen-config/main/schemas/workflow.schema.json |
Validate with Lintel
npx @lintel/lintel check
Properties
The version of the workflow schema
A map of dependent names to dependent configurations, used to define external repositories and their locations
A map of source names to source configurations, where the output is an OpenAPI document
A map of target names to target configurations, where the output is a speakeasy generation target
Definitions
Authentication information for the document (optional)
A HTTP Header Name
A HTTP Header Value
Code samples configuration. See https://www.speakeasy.com/guides/openapi/x-codesamples
Defaults to true. If false, code samples failures will not consider the workflow as failed
Optional flag to disable code samples.
2 nested properties
Optional fixed value for the label.
Optional flag to omit the label.
Optional language override for the code sample. Default behavior is to auto-detect.
The output file name
The openapi registry configuration
2 nested properties
The registry location to use (for snapshotting/change tracking)
The list of tags to use for the registry
Optional style for the code sample, one of 'standard' or 'readme'. Default is 'standard'.
Optional fixed value for the label.
Optional flag to omit the label.
A dependent configuration for external repositories
The local path to the repository
Optional command to clone the repository
Gram deployment configuration for MCP servers. Presence of this block enables deployment.
Gram project name. Defaults to Gram's authenticated org context.
A local or remote document.
The location to resolve the document at. E.g. a file name, relative location, or a HTTP URL
A HTTP Header Name
A HTTP Header Value
The model namespace/group for component schemas (used when merging multiple documents)
Comma-separated list of operations to filter
Exclude the specified operations (mutually exclusive with include)
Include the specified operations (mutually exclusive with exclude)
Authentication method for the MCP Registry. Use 'github-oidc' (recommended, no token needed) for io.github.* namespaces in GitHub Actions, 'github' with a PAT, or 'dns' for custom domain namespaces.
Authentication token. Not needed for github-oidc. For github auth, a GitHub PAT with read:org and read:user scopes. For dns auth, the Ed25519 private key.
Defaults to true. If false, the mock API server will not be started.
The publishing configuration. See https://www.speakeasy.com/docs/workflow-reference/publishing-reference
2 nested properties
5 nested properties
2 nested properties
Authentication method for the MCP Registry. Use 'github-oidc' (recommended, no token needed) for io.github.* namespaces in GitHub Actions, 'github' with a PAT, or 'dns' for custom domain namespaces.
Authentication token. Not needed for github-oidc. For github auth, a GitHub PAT with read:org and read:user scopes. For dns auth, the Ed25519 private key.
1 nested properties
1 nested properties
2 nested properties
2 nested properties
PyPI API token for token-based authentication. Not required if using trusted publishing.
Use OIDC trusted publishing instead of token-based authentication. See https://docs.pypi.org/trusted-publishers/
1 nested properties
2 nested properties
PyPI API token for token-based authentication. Not required if using trusted publishing.
Use OIDC trusted publishing instead of token-based authentication. See https://docs.pypi.org/trusted-publishers/
A source configuration
A list of input documents (OpenAPI Specifications). These will be merged together
The output file name (optional)
A list of overlay files (OpenAPI Overlay Specification)
The openapi registry configuration
2 nested properties
The registry location to use (for snapshotting/change tracking)
The list of tags to use for the registry
The linting ruleset to use (optional)
A list of transformations to apply to the OpenAPI document
The openapi registry configuration
The registry location to use (for snapshotting/change tracking)
The list of tags to use for the registry
Code samples configuration. See https://www.speakeasy.com/guides/openapi/x-codesamples
7 nested properties
Defaults to true. If false, code samples failures will not consider the workflow as failed
Optional flag to disable code samples.
2 nested properties
Optional fixed value for the label.
Optional flag to omit the label.
Optional language override for the code sample. Default behavior is to auto-detect.
The output file name
The openapi registry configuration
2 nested properties
The registry location to use (for snapshotting/change tracking)
The list of tags to use for the registry
Optional style for the code sample, one of 'standard' or 'readme'. Default is 'standard'.
Gram deployment configuration for MCP servers. Presence of this block enables deployment.
1 nested properties
Gram project name. Defaults to Gram's authenticated org context.
The publishing configuration. See https://www.speakeasy.com/docs/workflow-reference/publishing-reference
9 nested properties
2 nested properties
5 nested properties
2 nested properties
Authentication method for the MCP Registry. Use 'github-oidc' (recommended, no token needed) for io.github.* namespaces in GitHub Actions, 'github' with a PAT, or 'dns' for custom domain namespaces.
Authentication token. Not needed for github-oidc. For github auth, a GitHub PAT with read:org and read:user scopes. For dns auth, the Ed25519 private key.
1 nested properties
1 nested properties
2 nested properties
2 nested properties
PyPI API token for token-based authentication. Not required if using trusted publishing.
Use OIDC trusted publishing instead of token-based authentication. See https://docs.pypi.org/trusted-publishers/
1 nested properties
2 nested properties
Target testing configuration. By default, targets are not tested as part of the workflow.
2 nested properties
Defaults to false. If true, the target will be tested as part of the workflow.
1 nested properties
Defaults to true. If false, the mock API server will not be started.
Target testing configuration. By default, targets are not tested as part of the workflow.
Defaults to false. If true, the target will be tested as part of the workflow.
1 nested properties
Defaults to true. If false, the mock API server will not be started.
Clean up the OpenAPI document
3 nested properties
Comma-separated list of operations to filter
Exclude the specified operations (mutually exclusive with include)
Include the specified operations (mutually exclusive with exclude)
1 nested properties
Remove unused components from the OpenAPI document