Skip to content

Commit

Permalink
fix(openapi): remove forbidden description
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Mannia committed Feb 26, 2025
1 parent d1a5f9b commit fc3f554
Show file tree
Hide file tree
Showing 10 changed files with 1,343 additions and 1,508 deletions.
386 changes: 185 additions & 201 deletions openapi/openapi_external.json

Large diffs are not rendered by default.

147 changes: 66 additions & 81 deletions openapi/openapi_external_massive.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,22 +76,15 @@
"required": true
},
"responses": {
"409": {
"description": "Conflict: existing related payment found.",
"401": {
"description": "Wrong or missing function key.",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
"schema": {
"type": "string"
}
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemJson"
}
}
}
},
"403": {
Expand All @@ -106,20 +99,15 @@
},
"content": {
"application/json": {
"examples": {
"forbidden": {
"description": "forbidden",
"value": {
"statusCode": 403,
"message": "You are not allowed to access this resource."
}
}
"example": {
"statusCode": 403,
"message": "You are not allowed to access this resource."
}
}
}
},
"400": {
"description": "Malformed request.",
"500": {
"description": "Service unavailable.",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
Expand All @@ -136,8 +124,8 @@
}
}
},
"401": {
"description": "Wrong or missing function key.",
"200": {
"description": "Debt Positions updated.",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
Expand All @@ -147,19 +135,26 @@
}
}
},
"200": {
"description": "Debt Positions updated.",
"400": {
"description": "Malformed request.",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
"schema": {
"type": "string"
}
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemJson"
}
}
}
},
"500": {
"description": "Service unavailable.",
"409": {
"description": "Conflict: existing related payment found.",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
Expand Down Expand Up @@ -215,18 +210,15 @@
"required": true
},
"responses": {
"400": {
"description": "Malformed request.",
"401": {
"description": "Wrong or missing function key.",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
"schema": {
"type": "string"
}
}
},
"content": {
"application/json": {}
}
},
"403": {
Expand All @@ -241,20 +233,15 @@
},
"content": {
"application/json": {
"examples": {
"forbidden": {
"description": "forbidden",
"value": {
"statusCode": 403,
"message": "You are not allowed to access this resource."
}
}
"example": {
"statusCode": 403,
"message": "You are not allowed to access this resource."
}
}
}
},
"500": {
"description": "Service unavailable.",
"200": {
"description": "Debt Positions deleted.",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
Expand All @@ -264,11 +251,15 @@
}
},
"content": {
"application/json": {}
"application/json": {
"schema": {
"type": "string"
}
}
}
},
"200": {
"description": "Debt Positions deleted.",
"404": {
"description": "Payment Position not found.",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
Expand All @@ -278,15 +269,11 @@
}
},
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
"application/json": {}
}
},
"404": {
"description": "Payment Position not found.",
"400": {
"description": "Malformed request.",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
Expand All @@ -299,15 +286,18 @@
"application/json": {}
}
},
"401": {
"description": "Wrong or missing function key.",
"500": {
"description": "Service unavailable.",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
"schema": {
"type": "string"
}
}
},
"content": {
"application/json": {}
}
}
},
Expand Down Expand Up @@ -382,8 +372,8 @@
"required": true
},
"responses": {
"403": {
"description": "Forbidden",
"409": {
"description": "Conflict: duplicate debt position found.",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
Expand All @@ -394,20 +384,25 @@
},
"content": {
"application/json": {
"examples": {
"forbidden": {
"description": "forbidden",
"value": {
"statusCode": 403,
"message": "You are not allowed to access this resource."
}
}
"schema": {
"$ref": "#/components/schemas/ProblemJson"
}
}
}
},
"409": {
"description": "Conflict: duplicate debt position found.",
"401": {
"description": "Wrong or missing function key.",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
"schema": {
"type": "string"
}
}
}
},
"403": {
"description": "Forbidden",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
Expand All @@ -418,8 +413,9 @@
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemJson"
"example": {
"statusCode": 403,
"message": "You are not allowed to access this resource."
}
}
}
Expand All @@ -435,8 +431,8 @@
}
}
},
"400": {
"description": "Malformed request.",
"500": {
"description": "Service unavailable.",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
Expand All @@ -453,19 +449,8 @@
}
}
},
"401": {
"description": "Wrong or missing function key.",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
"schema": {
"type": "string"
}
}
}
},
"500": {
"description": "Service unavailable.",
"400": {
"description": "Malformed request.",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
Expand Down
Loading

0 comments on commit fc3f554

Please sign in to comment.