mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 14:27:42 +00:00
Start converting some enum-like strings to proper enums
This commit is contained in:
@@ -981,7 +981,7 @@ components:
|
||||
- NONE
|
||||
example: SPOT
|
||||
|
||||
LocationSourceForAlert:
|
||||
LocationSourceForCallsign:
|
||||
type: string
|
||||
enum:
|
||||
- "HOME QTH"
|
||||
@@ -2197,7 +2197,7 @@ components:
|
||||
Where we got the location (grid/latitude/longitude) from. Unlike a spot where we might
|
||||
have a summit position or WAB square, here the only options are an online QTH lookup, or
|
||||
a location based purely on DXCC, or nothing.
|
||||
$ref: "#/components/schemas/LocationSourceForAlert"
|
||||
$ref: "#/components/schemas/LocationSourceForCallsign"
|
||||
|
||||
GridLookup:
|
||||
type: object
|
||||
|
||||
Reference in New Issue
Block a user