OpenAPI 3.1 spec document
GET
/v1/openapi.json
const url = 'https://example.com/v1/openapi.json';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/openapi.jsonPublic. Returns the machine-readable spec for this deployment. Used by SDK codegen (a snapshot ships in the @kindgi/api package as @kindgi/api/openapi.json).
Responses
Section titled “Responses”OpenAPI 3.1 document.
Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}