Commit graph

43 commits

Author SHA1 Message Date
Gwendolyn
d0d18fcae2 SerializableSchema should check if its values can be serialized, so that it doesn't break when used in a union with a base type or schema that isn't a SerializableSchema 2023-12-11 14:07:41 +01:00
Laura Klünder
34af60782c merge RangeLocator into Locator and modernize code 2023-12-07 02:21:46 +01:00
Laura Klünder
f64e65f297 make icon optional again 2023-12-04 23:07:30 +01:00
Laura Klünder
29e16e8ce0 remove more todo items 2023-12-04 22:31:00 +01:00
Laura Klünder
964574e535 more map api documentation improvements 2023-12-04 18:58:49 +01:00
Laura Klünder
fdf4860ea8 better bounds examples 2023-12-04 16:19:34 +01:00
Laura Klünder
4be79776cb update BoundsSchema docs 2023-12-04 13:55:24 +01:00
Laura Klünder
e5e3a6b7e2 make redoc look prettier 2023-12-03 22:52:06 +01:00
Gwendolyn
73238f6943 LocationGeometry id can be custom location or position id 2023-12-03 21:11:10 +01:00
Laura Klünder
d63113f0bb customlocation geometry schema should have default none 2023-12-03 19:39:34 +01:00
Laura Klünder
156e1a9436 fix the same thing again 2023-12-03 17:42:12 +01:00
Laura Klünder
635b9ab406 fix SourceSchema 2023-12-03 17:39:58 +01:00
Laura Klünder
210d079bb7 write more schema for routing api 2023-12-01 23:49:02 +01:00
Laura Klünder
8a8b20f22e make linter happy 2023-11-26 17:55:23 +01:00
Laura Klünder
f07b06ec60 add point and bounds to positionstatusschema 2023-11-24 18:05:59 +01:00
Laura Klünder
f7a4055c1c don't cache dynamiclocation results 2023-11-24 17:24:31 +01:00
Gwendolyn
550d77f774 dynamic position ids can contain upper-case letters 2023-11-24 17:22:27 +01:00
Gwendolyn
ac9f51ff38 typo neaby -> nearby 2023-11-24 17:22:27 +01:00
Laura Klünder
3fcb58b4e3 add add_search to api schema 2023-11-24 16:53:56 +01:00
Laura Klünder
62cffe9644 how about some bugfixing? 2023-11-24 16:31:39 +01:00
Laura Klünder
d6b9161345 add position update API endpoint and remove old one, also some more api tweaks 2023-11-24 15:42:48 +01:00
Gwendolyn
687c5b4276 fix api model to use None instead of Literal[None] 2023-11-24 14:19:23 +01:00
Laura Klünder
2799a9e530 add missing location geometry endpoints 2023-11-24 01:23:07 +01:00
Laura Klünder
62f53d7847 some typo fixes in the new API 2023-11-24 01:08:40 +01:00
Laura Klünder
715d6c2f11 API for querying positions 2023-11-24 01:05:38 +01:00
Laura Klünder
93883355b0 add dynamiclocation to API 2023-11-23 23:22:30 +01:00
Laura Klünder
ecca514118 add location by slug endpoints 2023-11-23 22:44:24 +01:00
Gwendolyn
9eeb106b6e mitigate weird pydantic bug that tries to hash dicts in unions 2023-11-23 22:39:39 +01:00
Laura Klünder
1e3094cf8b more fixes yay 2023-11-23 21:21:55 +01:00
Laura Klünder
dcf0811d1c fix again? 2023-11-23 21:20:14 +01:00
Laura Klünder
a3566fe555 this fix things? 2023-11-23 21:19:08 +01:00
Laura Klünder
505a59091c enjoy an awesome broken display viewpoint 2023-11-23 21:11:31 +01:00
Laura Klünder
fc53e3197d remove geometry from serialized data using filter parameter 2023-11-23 18:41:46 +01:00
Laura Klünder
3fd5c49926 some better API annotations 2023-11-23 18:16:56 +01:00
Laura Klünder
87e5e56ea1 add slim and full location list endpoint, geometry optional 2023-11-23 18:10:31 +01:00
Laura Klünder
8b47a89865 first locations endpoint might… be… something? 2023-11-23 16:37:25 +01:00
Laura Klünder
141ab7489e add more mapdata endpoints, completing the mapdata API tag 2023-11-19 16:48:40 +01:00
Laura Klünder
846101ea37 add more mapdata API endpoints 2023-11-19 16:36:46 +01:00
Laura Klünder
f43d458fc4 add tons of mapdata endpoints, enhance documentation and operation IDs 2023-11-19 15:34:08 +01:00
Laura Klünder
0f43274e33 some more documentation in the API and in the API code 2023-11-19 00:12:10 +01:00
Laura Klünder
f96e916184 update filter descriptions 2023-11-18 22:45:24 +01:00
Laura Klünder
0cf5a2aadf tentative generic mapdata api functions, still with quite a few todos 2023-11-18 22:39:10 +01:00
Laura Klünder
b2aa76ba2d update django-ninja, including pydantic v2 and add provisional level api 2023-11-18 21:29:35 +01:00