Skip to content

Commit

Permalink
update swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
Jish2 committed Nov 17, 2023
1 parent b55a077 commit bac343f
Showing 1 changed file with 27 additions and 6 deletions.
33 changes: 27 additions & 6 deletions docs/swagger-resume-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ paths:
200:
description: OK


x-amazon-apigateway-auth:
type: NONE

Expand All @@ -38,7 +37,7 @@ paths:
httpMethod: POST
contentHandling: CONVERT_TO_TEXT
type: aws_proxy
uri:
uri:
Fn::Sub: "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:${LambdaFunctionName}/invocations"

/api/v1/student/getUploadURL:
Expand All @@ -60,7 +59,29 @@ paths:
httpMethod: POST
contentHandling: CONVERT_TO_TEXT
type: aws_proxy
uri:
uri:
Fn::Sub: "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:${LambdaFunctionName}/invocations"

/api/v1/student/id:
get:
summary: Get id of student.
operationId: studentGetId
responses:
200:
description: OK

security:
- CombinedAuthorizer: []

x-amazon-apigateway-integration:
responses:
default:
statusCode: 200
passthroughBehavior: when_no_match
httpMethod: GET
contentHandling: CONVERT_TO_TEXT
type: aws_proxy
uri:
Fn::Sub: "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:${LambdaFunctionName}/invocations"

/api/v1/recruiter/getResumeListings:
Expand All @@ -86,7 +107,7 @@ paths:
httpMethod: POST
contentHandling: CONVERT_TO_TEXT
type: aws_proxy
uri:
uri:
Fn::Sub: "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:${LambdaFunctionName}/invocations"

/api/v1/recruiter/getResumeUrl:
Expand All @@ -112,5 +133,5 @@ paths:
httpMethod: POST
contentHandling: CONVERT_TO_TEXT
type: aws_proxy
uri:
Fn::Sub: arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:${LambdaFunctionName}/invocations
uri:
Fn::Sub: arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:${LambdaFunctionName}/invocations

0 comments on commit bac343f

Please sign in to comment.