swagger: '2.0' info: version: v1 title: APIGEEAddressDemo host: 'localhost:65120' schemes: - https securityDefinitions: basicAuth: type: basic security: - basicAuth: [] paths: /api/GetAddress: get: tags: - Address operationId: Address_Get consumes: [] produces: - application/json - text/json - application/xml - text/xml parameters: - name: houseNumber in: query required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/EmployeeAddressResponse' /api/AddAddress: post: tags: - Address operationId: Address_AddAddress consumes: - application/json - text/json - application/xml - text/xml - application/x-www-form-urlencoded produces: - application/json - text/json - application/xml - text/xml parameters: - name: inputAddress in: body required: true schema: $ref: '#/definitions/EmployeeAddressRequest' responses: '200': description: OK schema: $ref: '#/definitions/EmployeeAddressRequest' definitions: EmployeeAddressResponse: type: object properties: HouseNumber: format: int32 type: integer StreetName: type: string State: type: string Country: type: string EmployeeAddressRequest: type: object properties: HouseNumber: format: int32 type: integer StreetName: type: string State: type: string Country: type: string