mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
Update entrances schema
This commit is contained in:
@@ -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 |
|
||||
|
||||
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user