simpla.fydocs

Get a registered OpenAPI spec

GET
/api/v1/openapi/specs/{slug}

Authorization

sessionAuth
next-auth.session-token<token>

NextAuth.js v5 JWT session cookie. The admin console uses session-based auth; service-to-service callers should use a future API-key scheme.

In: cookie

Path Parameters

slug*string

Response Body

application/json

curl -X GET "https://example.com/api/v1/openapi/specs/string"
Empty
{
  "success": false,
  "error": "string",
  "code": "UNAUTHORIZED"
}