Skip to content

Commit

Permalink
openapi: Fixed external reference in contact.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jerstlouis committed Sep 24, 2024
1 parent 35adc24 commit cf37e02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 33 deletions.
33 changes: 2 additions & 31 deletions collections/openapi/ogcapi-common-2.bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -462,36 +462,7 @@
"description": "Graphic identifying a contact. The link relation should be `icon` and the media type should be an image media type.",
"allOf": [
{
"type": "object",
"required": [
"href",
"rel"
],
"properties": {
"href": {
"type": "string",
"example": "http://data.example.com/buildings/123"
},
"rel": {
"type": "string",
"example": "alternate"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
},
"title": {
"type": "string",
"example": "Trierer Strasse 70, 53115 Bonn"
},
"length": {
"type": "integer"
}
}
"$ref": "#/components/schemas/link"
},
{
"type": "object",
Expand Down Expand Up @@ -594,7 +565,7 @@
"items": {
"allOf": [
{
"$ref": "#/paths/~1collections/get/responses/200/content/application~1json/schema/properties/collections/items/allOf/0/properties/contacts/items/properties/logo/allOf/0"
"$ref": "#/components/schemas/link"
},
{
"type": "object",
Expand Down
4 changes: 2 additions & 2 deletions collections/openapi/schemas/records-core/contact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ properties:
Graphic identifying a contact. The link relation should be `icon`
and the media type should be an image media type.
allOf:
- $ref: 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml'
- $ref: '../common-core/link.yaml'
- type: object
required:
- rel
Expand Down Expand Up @@ -105,7 +105,7 @@ properties:
description: On-line information about the contact.
items:
allOf:
- $ref: 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml'
- $ref: '../common-core/link.yaml'
- type: object
required:
- type
Expand Down

0 comments on commit cf37e02

Please sign in to comment.