openapi: "3.0.1"
info:
  title: "HAL Service"
  description: "This service updates on pcm-shared-code-747207162522747207162522"
  version: "2022-09-27T15:09:52Z"
servers:
  - url: "https://api.pearsoncloudmanagement.com/{basePath}"
    variables:
      basePath:
        default: "/hal"
paths:
  /payeraccountorgdetails:
    get:
      x-amazon-apigateway-integration:
        type: "aws_proxy"
        httpMethod: "POST"
        uri: "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:747207162522:function:HalApiPrdStack-HalLambdaApi3B7E1770-0esk9IpqzXtA/invocations"
        passthroughBehavior: "when_no_match"
    options:
      responses:
        "204":
          description: "204 response"
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: "string"
            Access-Control-Allow-Methods:
              schema:
                type: "string"
            Vary:
              schema:
                type: "string"
            Access-Control-Max-Age:
              schema:
                type: "string"
            Access-Control-Allow-Headers:
              schema:
                type: "string"
          content: {}
      x-amazon-apigateway-integration:
        type: "mock"
        responses:
          default:
            statusCode: "204"
            responseParameters:
              method.response.header.Access-Control-Max-Age: "'600'"
              method.response.header.Access-Control-Allow-Methods: "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'"
              method.response.header.Access-Control-Allow-Headers: "'Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token,Api-Auth-Token'"
              method.response.header.Access-Control-Allow-Origin: "'http://localhost:3000'"
              method.response.header.Vary: "'Origin'"
            responseTemplates:
              application/json: "#set($origin = $input.params().header.get(\"Origin\"\
                ))\n#if($origin == \"\") #set($origin = $input.params().header.get(\"\
                origin\")) #end\n#if($origin.matches(\"https://hal-dev.pearsoncloudmanagement.com\"\
                ) || $origin.matches(\"https://hal.pearsoncloudmanagement.com\"))\n\
                \  #set($context.responseOverride.header.Access-Control-Allow-Origin\
                \ = $origin)\n#end"
        requestTemplates:
          application/json: "{ statusCode: 200 }"
        passthroughBehavior: "when_no_match"
  /accountsandorgdata:
    get:
      x-amazon-apigateway-integration:
        type: "aws_proxy"
        httpMethod: "POST"
        uri: "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:747207162522:function:HalApiPrdStack-HalLambdaApi3B7E1770-0esk9IpqzXtA/invocations"
        passthroughBehavior: "when_no_match"
    options:
      responses:
        "204":
          description: "204 response"
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: "string"
            Access-Control-Allow-Methods:
              schema:
                type: "string"
            Vary:
              schema:
                type: "string"
            Access-Control-Max-Age:
              schema:
                type: "string"
            Access-Control-Allow-Headers:
              schema:
                type: "string"
          content: {}
      x-amazon-apigateway-integration:
        type: "mock"
        responses:
          default:
            statusCode: "204"
            responseParameters:
              method.response.header.Access-Control-Max-Age: "'600'"
              method.response.header.Access-Control-Allow-Methods: "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'"
              method.response.header.Access-Control-Allow-Headers: "'Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token,Api-Auth-Token'"
              method.response.header.Access-Control-Allow-Origin: "'http://localhost:3000'"
              method.response.header.Vary: "'Origin'"
            responseTemplates:
              application/json: "#set($origin = $input.params().header.get(\"Origin\"\
                ))\n#if($origin == \"\") #set($origin = $input.params().header.get(\"\
                origin\")) #end\n#if($origin.matches(\"https://hal-dev.pearsoncloudmanagement.com\"\
                ) || $origin.matches(\"https://hal.pearsoncloudmanagement.com\"))\n\
                \  #set($context.responseOverride.header.Access-Control-Allow-Origin\
                \ = $origin)\n#end"
        requestTemplates:
          application/json: "{ statusCode: 200 }"
        passthroughBehavior: "when_no_match"
  /accountsandorgdatatest:
    get:
      x-amazon-apigateway-integration:
        type: "aws_proxy"
        httpMethod: "POST"
        uri: "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:747207162522:function:HalApiPrdStack-HalLambdaApi3B7E1770-0esk9IpqzXtA/invocations"
        passthroughBehavior: "when_no_match"
    options:
      responses:
        "204":
          description: "204 response"
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: "string"
            Access-Control-Allow-Methods:
              schema:
                type: "string"
            Vary:
              schema:
                type: "string"
            Access-Control-Max-Age:
              schema:
                type: "string"
            Access-Control-Allow-Headers:
              schema:
                type: "string"
          content: {}
      x-amazon-apigateway-integration:
        type: "mock"
        responses:
          default:
            statusCode: "204"
            responseParameters:
              method.response.header.Access-Control-Max-Age: "'600'"
              method.response.header.Access-Control-Allow-Methods: "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'"
              method.response.header.Access-Control-Allow-Headers: "'Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token,Api-Auth-Token'"
              method.response.header.Access-Control-Allow-Origin: "'http://localhost:3000'"
              method.response.header.Vary: "'Origin'"
            responseTemplates:
              application/json: "#set($origin = $input.params().header.get(\"Origin\"\
                ))\n#if($origin == \"\") #set($origin = $input.params().header.get(\"\
                origin\")) #end\n#if($origin.matches(\"https://hal-dev.pearsoncloudmanagement.com\"\
                ) || $origin.matches(\"https://hal.pearsoncloudmanagement.com\"))\n\
                \  #set($context.responseOverride.header.Access-Control-Allow-Origin\
                \ = $origin)\n#end"
        requestTemplates:
          application/json: "{ statusCode: 200 }"
        passthroughBehavior: "when_no_match"
  /payeraccountorgdetailstest:
    get:
      x-amazon-apigateway-integration:
        type: "aws_proxy"
        httpMethod: "POST"
        uri: "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:747207162522:function:HalApiPrdStack-HalLambdaApi3B7E1770-0esk9IpqzXtA/invocations"
        passthroughBehavior: "when_no_match"
    options:
      responses:
        "204":
          description: "204 response"
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: "string"
            Access-Control-Allow-Methods:
              schema:
                type: "string"
            Vary:
              schema:
                type: "string"
            Access-Control-Max-Age:
              schema:
                type: "string"
            Access-Control-Allow-Headers:
              schema:
                type: "string"
          content: {}
      x-amazon-apigateway-integration:
        type: "mock"
        responses:
          default:
            statusCode: "204"
            responseParameters:
              method.response.header.Access-Control-Max-Age: "'600'"
              method.response.header.Access-Control-Allow-Methods: "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'"
              method.response.header.Access-Control-Allow-Headers: "'Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token,Api-Auth-Token'"
              method.response.header.Access-Control-Allow-Origin: "'http://localhost:3000'"
              method.response.header.Vary: "'Origin'"
            responseTemplates:
              application/json: "#set($origin = $input.params().header.get(\"Origin\"\
                ))\n#if($origin == \"\") #set($origin = $input.params().header.get(\"\
                origin\")) #end\n#if($origin.matches(\"https://hal-dev.pearsoncloudmanagement.com\"\
                ) || $origin.matches(\"https://hal.pearsoncloudmanagement.com\"))\n\
                \  #set($context.responseOverride.header.Access-Control-Allow-Origin\
                \ = $origin)\n#end"
        requestTemplates:
          application/json: "{ statusCode: 200 }"
        passthroughBehavior: "when_no_match"
  /:
    options:
      responses:
        "204":
          description: "204 response"
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: "string"
            Access-Control-Allow-Methods:
              schema:
                type: "string"
            Vary:
              schema:
                type: "string"
            Access-Control-Max-Age:
              schema:
                type: "string"
            Access-Control-Allow-Headers:
              schema:
                type: "string"
          content: {}
      x-amazon-apigateway-integration:
        type: "mock"
        responses:
          default:
            statusCode: "204"
            responseParameters:
              method.response.header.Access-Control-Max-Age: "'600'"
              method.response.header.Access-Control-Allow-Methods: "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'"
              method.response.header.Access-Control-Allow-Headers: "'Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token,Api-Auth-Token'"
              method.response.header.Access-Control-Allow-Origin: "'http://localhost:3000'"
              method.response.header.Vary: "'Origin'"
            responseTemplates:
              application/json: "#set($origin = $input.params().header.get(\"Origin\"\
                ))\n#if($origin == \"\") #set($origin = $input.params().header.get(\"\
                origin\")) #end\n#if($origin.matches(\"https://hal-dev.pearsoncloudmanagement.com\"\
                ) || $origin.matches(\"https://hal.pearsoncloudmanagement.com\"))\n\
                \  #set($context.responseOverride.header.Access-Control-Allow-Origin\
                \ = $origin)\n#end"
        requestTemplates:
          application/json: "{ statusCode: 200 }"
        passthroughBehavior: "when_no_match"
components: {}
