Get the OpenAPI 2.0 specification for a project version

get

https://{your_site_interface}/determinations-server/project/v2/{project-name}/{project-version}/swagger.json

This operation retrieves the OpenAPI 2.0 specification that describes the operations and the expected inputs and outputs for decision assessments for the project version in development.

Request

Path Parameters

There's no request body for this operation.

Security
  • Type: apiKey
    Description: Obtain a bearer token from https://{your_site_interface}/opa-hub/api/12.2.17/auth and use it in the Authorization header as: Bearer {token}.
  • Type: oauth2
    Description: POST the OAuth2 Client Credentials parameters to https://{your_site_interface}/opa-hub/api/12.2.17/auth and use the access token from the response in the Authorization header.
Back to Top

Response

Supported Media Types

200 Response

The OpenAPI 2.0 specification describing the operations and required input to perform decision assessments on the project version.
Body ()
Root Schema : openApiSpec
Type: object
The OpenAPI 2.0 specification in JSON format describing the decision service operations.

404 Response

The requested resource does not exist.
Back to Top