openapi

generate openapi spec from http routes/webhook

post/w/{workspace}/openapi/generate

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/w/{workspace}/openapi/generate
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required

Request body

urlstring
openapi_spec_format'yaml' | 'json'

Response

openapi spec

Changes

No recorded changes to this operation across all 293 revisions of this API.