diff --git a/api/api.yaml b/api/api.yaml index 9b6304e..d87a8ea 100644 --- a/api/api.yaml +++ b/api/api.yaml @@ -276,7 +276,7 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Region' + $ref: '#/components/schemas/SearchResult' '204': description: No regions match the query '400': @@ -338,6 +338,17 @@ components: hasSubregions: type: boolean + SearchResult: + type: object + properties: + id: + type: integer + name: + type: string + path: + type: string + description: A ' > ' delimited string representing the hierarchical path of the region. + CRS: type: object properties: