This description of the API
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.jsonResponses
Section titled “Responses”The answer.
Media typeapplication/json
object
openapi
required
string
paths
required
object
components
required
object
schemas
required
object
Error
required
object
Example generated
{ "openapi": "example", "paths": {}, "components": { "schemas": { "Error": {} } }}