/test:
get:
summary: Get an Employee
operationId: getEmployee
x-google-backend:
address: https://xyz-nn.a.run.app #Cloud RUN URL
protocol: h2
parameters:
- name: employee_id
in: query
description: Employee Id
required: true
type: string
- name: employee
in: body
description: Employee to be Added
schema:
$ref: '#/definitions/Employee'
responses:
'200':
description: A successful response
schema:
type: string
'404':
description: A Employee with the specified ID was not found.
schema:
type: string
'412':
description: Employee Id not provided
schema:
type: string
这里使用了 GET 请求,但 API Gateway 给了我 400。如何在 GET 请求中传递正文参数以及查询参数。