Skip to content

Commit

Permalink
[Update OpenAPI] Merge openapi Contract API service DEV using openapi…
Browse files Browse the repository at this point in the history
…-merge-cli (#298)

Co-authored-by: manuraf <12083207+manuraf@users.noreply.github.com>
  • Loading branch information
selfcare-github-bot and manuraf authored Aug 23, 2024
1 parent c74cff9 commit 1568a5f
Showing 1 changed file with 23 additions and 27 deletions.
50 changes: 23 additions & 27 deletions infra/apim_v2/api/external_api_contract/v1/openapi.dev.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"openapi": "3.0.3",
"info": {
"title": "selc-external-api",
"description": "This service acts as an orchestrator for information coming from different services and as a proxy",
"title": "Contract API service",
"description": "This service is the proxy for getting file contract",
"version": "1.0.0"
},
"servers": [
Expand All @@ -12,19 +12,15 @@
],
"tags": [
{
"name": "institutions",
"description": "Institution Controller"
},
{
"name": "product",
"description": "Product Controller"
"name": "Institution",
"description": "Institution V 2 Controller"
}
],
"paths": {
"/institutions/{institutionId}/contract": {
"get": {
"tags": [
"institutions"
"Institution"
],
"summary": "getContract",
"description": "Service to retrieve a contract given institutionId and productId",
Expand Down Expand Up @@ -116,24 +112,6 @@
},
"components": {
"schemas": {
"InvalidParam": {
"title": "InvalidParam",
"required": [
"name",
"reason"
],
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Invalid parameter name."
},
"reason": {
"type": "string",
"description": "Invalid parameter reason."
}
}
},
"Problem": {
"title": "Problem",
"required": [
Expand Down Expand Up @@ -173,6 +151,24 @@
}
},
"description": "A \"problem detail\" as a way to carry machine-readable details of errors (https://datatracker.ietf.org/doc/html/rfc7807)"
},
"InvalidParam": {
"title": "InvalidParam",
"required": [
"name",
"reason"
],
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Invalid parameter name."
},
"reason": {
"type": "string",
"description": "Invalid parameter reason."
}
}
}
},
"securitySchemes": {
Expand Down

0 comments on commit 1568a5f

Please sign in to comment.