Tool to create an API specification in Postman's Spec Hub. Use when you need to create single or multi-file specifications in a workspace. Supports various spec types including OpenAPI 3.0, OpenAPI 3.1, and AsyncAPI 2.0.
nameRequiredstringThe name of the API specification to create
typeRequiredstringThe type of specification. Common values include 'OPENAPI:3.0', 'OPENAPI:3.1', 'ASYNCAPI:2.0'
filesRequiredarrayArray of files for the specification. Each file must have a path and content property. For single-file specs, provide one file; for multi-file specs, provide multiple files
workspace_idRequiredstringThe workspace ID where the spec will be created. This is a UUID format string identifying the target workspace
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.