Get the OpenAPI 2.0 specification for a deployed project
get
https://{your_site_interface}/determinations-server/v2/{deployment-name}/swagger.json
This operation retrieves the OpenAPI 2.0 specification that describes the operations and the expected inputs and outputs for decision assessments on the deployed project.
Request
Path Parameters
-
deployment-name(required): string
Name of the deployed project
There's no request body for this operation.
Security
-
Authorization: apiKey
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}.
-
oauth2_opa: oauth2
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.
Response
Supported Media Types
- application/json
200 Response
The OpenAPI 2.0 specification describing the operations and required input to perform decision assessments on the deployed project.
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.