Skip to content

Commit

Permalink
updates OAS
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Sep 11, 2023
1 parent ebd96bc commit 4b13845
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion services/payments/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include ../../scripts/common-service.Makefile

.PHONY: openapi.json
openapi-specs: openapi.json
openapi.json: .env ## produces openapi.json
openapi.json: ## produces openapi.json
# generating openapi specs file (need to have the environment set for this)
@set -o allexport; \
source .env; \
Expand Down
18 changes: 9 additions & 9 deletions services/payments/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
"auth"
],
"summary": "Login To Create Access Token",
"operationId": "login_to_create_access_token_v1_token_post",
"operationId": "login_to_create_access_token",
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "#/components/schemas/Body_login_to_create_access_token_v1_token_post"
"$ref": "#/components/schemas/Body_login_to_create_access_token"
}
}
},
Expand Down Expand Up @@ -96,9 +96,9 @@
"tags": [
"acks"
],
"summary": "Acknoledge Payment",
"summary": "Acknowledge Payment",
"description": "completes (ie. ack) request initated by `/init`",
"operationId": "acknoledge_payment_v1_payments__payment_id__ack_post",
"operationId": "acknowledge_payment_v1_payments__payment_id__ack_post",
"parameters": [
{
"required": true,
Expand Down Expand Up @@ -153,9 +153,9 @@
"tags": [
"acks"
],
"summary": "Acknoledge Payment Method",
"summary": "Acknowledge Payment Method",
"description": "completes (ie. ack) request initated by `/payments-methods:init`",
"operationId": "acknoledge_payment_method_v1_payments_methods__payment_method_id__ack_post",
"operationId": "acknowledge_payment_method_v1_payments_methods__payment_method_id__ack_post",
"parameters": [
{
"required": true,
Expand Down Expand Up @@ -230,7 +230,7 @@
"type": "object",
"title": "AckPaymentMethod"
},
"Body_login_to_create_access_token_v1_token_post": {
"Body_login_to_create_access_token": {
"properties": {
"grant_type": {
"type": "string",
Expand Down Expand Up @@ -264,7 +264,7 @@
"username",
"password"
],
"title": "Body_login_to_create_access_token_v1_token_post"
"title": "Body_login_to_create_access_token"
},
"HTTPValidationError": {
"properties": {
Expand Down Expand Up @@ -372,7 +372,7 @@
"flows": {
"password": {
"scopes": {},
"tokenUrl": "token"
"tokenUrl": "/v1/token"
}
}
}
Expand Down

0 comments on commit 4b13845

Please sign in to comment.