---
title: "Get OpenAPI specification"
method: GET
path: "/openapi"
tags: ["utility"]
---

# Get OpenAPI specification

`GET /openapi`

Returns the OpenAPI specification, by default in YAML format.

To request JSON format, use the query parameter `?format=json` or set the `Accept: application/json` header.

## Response `200`

OpenAPI specification in YAML or JSON format

---

[API](https://skmtc.net/azure/apis/pizza-api.md) · [All operations](https://skmtc.net/azure/apis/pizza-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/pizza-api/versions/b9618c89d438/schema)
