Add OpenAPI definition #1

This commit is contained in:
Ian Renton
2025-09-28 21:41:36 +01:00
parent 4681b2b74c
commit b03650eb80
3 changed files with 450 additions and 3 deletions

View File

@@ -97,6 +97,9 @@ class WebServer:
case "mode":
modes = query.get(k).split(",")
spots = [s for s in spots if s.mode in modes]
case "mode_family":
mode_families = query.get(k).split(",")
spots = [s for s in spots if s.mode_family in mode_families]
case "dx_continent":
dxconts = query.get(k).split(",")
spots = [s for s in spots if s.dx_continent in dxconts]