---
title: "retrieve the OpenAPI specification for MockServer"
method: GET
path: "/mockserver/openapi.yaml"
tags: ["control"]
---

# retrieve the OpenAPI specification for MockServer

`GET /mockserver/openapi.yaml`

## Request

- Base URL: `http://localhost:1080`
- URL: `http://localhost:1080/mockserver/openapi.yaml`
- Auth: none declared

returns the OpenAPI specification describing the MockServer REST API in YAML format

## Response `200`

OpenAPI specification returned

---

[API](https://skmtc.dev/mock-server/apis/mockserver-api.md) · [All operations](https://skmtc.dev/mock-server/apis/mockserver-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mock-server/apis/mockserver-api/revisions/9239b693996e?raw)
