|
1 | 1 | import datetime |
2 | | -from typing import Mapping |
| 2 | +from typing import Annotated, Mapping |
3 | 3 |
|
4 | 4 | from ape_pie import APIClient |
5 | | -from msgspec import UNSET, Struct, UnsetType |
| 5 | +from msgspec import UNSET, Meta, Struct, UnsetType |
6 | 6 | from rest_framework.request import Request |
7 | 7 | from openbeheer.api.views import ListView |
8 | 8 | from openbeheer.types._zgw import ZGWResponse |
|
12 | 12 |
|
13 | 13 |
|
14 | 14 | class ZaaktypenGetParametersQuery(OBPagedQueryParams, kw_only=True, rename="camel"): |
15 | | - catalogus: str | UnsetType = UNSET # frontend uuid.UUID, backend url |
16 | | - datum_geldigheid: str | UnsetType = UNSET |
| 15 | + catalogus: Annotated[ |
| 16 | + str | UnsetType, Meta(description="UUID part of the catalogus URL") |
| 17 | + ] = UNSET # frontend uuid.UUID, backend url |
| 18 | + datum_geldigheid: datetime.date | UnsetType = UNSET |
17 | 19 | identificatie: str | UnsetType = UNSET |
18 | 20 | page: int = 1 |
19 | 21 | status: Status = Status.alles # OZ defaults to definitief |
20 | | - trefwoorden: str | UnsetType = UNSET |
| 22 | + trefwoorden: Annotated[ |
| 23 | + str | UnsetType, Meta(description="Comma separated keywords") |
| 24 | + ] = UNSET |
21 | 25 |
|
22 | 26 |
|
23 | 27 | class ZaakType(Struct, kw_only=True, rename="camel"): |
|
0 commit comments