-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolve referenced nested references while taking care of self references
- Loading branch information
Showing
5 changed files
with
79 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
openapi: 3.0.0 | ||
info: | ||
title: OpenStreetMap circular refs | ||
description: This is the editing API for OpenStreetMap. | ||
version: '0.6' | ||
servers: | ||
- url: '/' | ||
paths: | ||
/api/0.6/map: | ||
get: | ||
summary: Retrieves map data by the given bounding box. | ||
description: | | ||
The operation returns: | ||
operationId: getMapDataByBoundingBox | ||
responses: | ||
'200': | ||
description: okay | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
elements: | ||
type: array | ||
items: | ||
oneOf: | ||
- $ref: '#/components/schemas/Node' | ||
components: | ||
schemas: | ||
Node: | ||
allOf: | ||
- $ref: '#/components/schemas/Way/allOf/0' | ||
Way: | ||
allOf: | ||
- type: object | ||
properties: | ||
type: | ||
type: string | ||
Relation: | ||
allOf: | ||
- type: object | ||
properties: | ||
members: | ||
type: array | ||
items: | ||
type: object | ||
properties: | ||
type: | ||
$ref: '#/paths/~1api~10.6~1map/get/responses/200/content/application~1json/schema/properties/elements/items/oneOf/0/allOf/0/properties/type' | ||
required: | ||
- members | ||
externalDocs: | ||
description: Find more information on the OSM wiki | ||
url: 'https://wiki.openstreetmap.org/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters