Skip to content

Commit

Permalink
fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Jul 17, 2024
1 parent 5b026ec commit 0e0f785
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release Notes

## 1.3.1 (2024-06-21)
## Unreleased

* update models to avoid pydantic deprecation

Expand Down
12 changes: 6 additions & 6 deletions titiler/pgstac/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class Link(BaseModel):
Field(
description="Supplies the URI to a remote resource (or resource fragment).",
json_schema_extra={
"example": ["http://data.example.com/buildings/123"],
"example": "http://data.example.com/buildings/123",
},
),
]
Expand All @@ -234,7 +234,7 @@ class Link(BaseModel):
Field(
description="The type or semantics of the relation.",
json_schema_extra={
"example": ["alternate"],
"example": "alternate",
},
),
]
Expand All @@ -243,7 +243,7 @@ class Link(BaseModel):
Field(
description="A hint indicating what the media type of the result of dereferencing the link should be.",
json_schema_extra={
"example": ["application/geo+json"],
"example": "application/geo+json",
},
),
] = None
Expand All @@ -256,7 +256,7 @@ class Link(BaseModel):
Field(
description="A base path to retrieve semantic information about the variables used in URL template.",
json_schema_extra={
"example": ["/ogcapi/vars/"],
"example": "/ogcapi/vars/",
},
),
] = None
Expand All @@ -265,7 +265,7 @@ class Link(BaseModel):
Field(
description="A hint indicating what the language of the result of dereferencing the link should be.",
json_schema_extra={
"example": ["en"],
"example": "en",
},
),
] = None
Expand All @@ -274,7 +274,7 @@ class Link(BaseModel):
Field(
description="Used to label the destination of a link such that it can be used as a human-readable identifier.",
json_schema_extra={
"example": ["Trierer Strasse 70, 53115 Bonn"],
"example": "Trierer Strasse 70, 53115 Bonn",
},
),
] = None
Expand Down

0 comments on commit 0e0f785

Please sign in to comment.