Show OpenAPI explorer
GET
/spec
const url = 'https://example.com/v1/spec';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/specProvides a UI that you can use to explore the API. You can also
retrieve the API directly at /spec.yaml and /spec.json.
Responses
Section titled “ Responses ” Media type text/html
string