Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Wrong definitions for /locations/{location_id}/physical-address/ requests #75

Closed
vtimonov opened this issue Jan 31, 2018 · 1 comment
Closed
Labels

Comments

@vtimonov
Copy link

The requests below should be specified for the physical addresses of a specific location, but in openapi-hsda.yaml they are defined as postal-address:

/locations/{location_id}/physical-address/
/locations/{location_id}/physical-address/{postal_address_id}/

/locations/{location_id}/physical-address/:
    get:
      summary: Get physical addresses for location
      description: Returns a list of physical addresses for a specific location
      operationId: listLocationPhysicalAddresses
      parameters:
        - in: path
          required: true
          type: string
          name: location_id
          description: 'The unique location id.'
      responses:
        '200':
          description: Postal Address Response
          schema:
            type: array
            items:
              $ref: "#/definitions/postal_address"
@kinlane kinlane added the v2.0 label Dec 4, 2020
@kinlane
Copy link
Contributor

kinlane commented Dec 28, 2020

This has been cleaned up in the latest copy of the OpenAPI definition.

@kinlane kinlane closed this as completed Dec 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants