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

# Get OpenAPI specification

`GET /openapi`

Returns the OpenAPI specification for this API as YAML.

When called without authentication, returns the base public specification. When called with a valid access token, the response may include additional endpoints and schemas that are contextually relevant to the authenticated user.

## Response `200`

The OpenAPI specification document

---

[API](https://skmtc.net/harborcompliance/apis/harbor-compliance-api.md) · [All operations](https://skmtc.net/harborcompliance/apis/harbor-compliance-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/harborcompliance/harbor-compliance-api/revisions/f9302ec2ef8a/schema)
