Update entrances schema

This commit is contained in:
Emily Love Watson
2025-08-14 14:37:24 -05:00
parent 048d571e46
commit 823ad5d279
15 changed files with 139 additions and 26 deletions

View File

@@ -30,6 +30,14 @@ Feature: Object details
And the result is valid json
And the result has attributes address
Scenario: Details with entrances
When sending v1/details
| osmtype | osmid | entrances |
| W | 429210603 | 1 |
Then a HTTP 200 is returned
And the result is valid json
And the result has attributes entrances
Scenario: Details with linkedplaces
When sending v1/details
| osmtype | osmid | linkedplaces |

View File

@@ -63,6 +63,20 @@ Feature: Search queries
| geojson | geojson |
| xml | xml |
Scenario Outline: Search with entrances
When sending v1/search with format <format>
| q | entrances |
| Saint Joseph Catholic Church | 1 |
Then a HTTP 200 is returned
And the result is valid <outformat>
Examples:
| format | outformat |
| json | json |
| jsonv2 | json |
| geojson | geojson |
| xml | xml |
Scenario: Coordinate search with addressdetails
When geocoding "47.12400621,9.6047552"
| accept-language |