some more documentation in the API and in the API code
This commit is contained in:
parent
f96e916184
commit
0f43274e33
8 changed files with 126 additions and 24 deletions
|
@ -77,7 +77,11 @@ class LocationSchema(AccessRestrictionSchema, TitledSchema, LocationSlugSchema,
|
|||
# todo: add_search
|
||||
|
||||
|
||||
class LabelSettingsSchema(TitledSchema, Schema):
|
||||
class LabelSettingsSchema(TitledSchema, DjangoModelSchema):
|
||||
"""
|
||||
Settings preset for how and when to display a label. Reusable between objects.
|
||||
The title describes the title of this preset, not the displayed label.
|
||||
"""
|
||||
min_zoom: float = APIField(
|
||||
title="min zoom",
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue