---
title: "This spec as JSON"
method: GET
path: "/openapi.json"
tags: ["Spec"]
---

# This spec as JSON

`GET /openapi.json`

## Request

- Base URL: `https://gorest.co.in/public/v3`
- URL: `https://gorest.co.in/public/v3/openapi.json`
- Auth: none required

## Headers

- `If-None-Match` string

## Response `200`

The OpenAPI document.

- object

## Other responses

- `304`: Not changed since the ETag in `If-None-Match`; no body.
- `401`: No token, or the token is wrong, expired or revoked.
- `429`: Over the rate limit; wait `Retry-After` seconds.
- `500`: Something failed on the server.

---

[API](https://skmtc.dev/gorest/apis/gorest-api-v3.md) - [All operations](https://skmtc.dev/gorest/apis/gorest-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/gorest/apis/gorest-api-v3/revisions/89aa429755a6?raw)
