feat: accept calibration readings only from a chosen tag
This commit is contained in:
@@ -330,6 +330,17 @@ defmodule Localiser.Web.Schemas do
|
||||
})
|
||||
end
|
||||
|
||||
defmodule CalibrationTagParams do
|
||||
require OpenApiSpex
|
||||
OpenApiSpex.schema(%{
|
||||
title: "CalibrationTagParams", type: :object,
|
||||
properties: %{
|
||||
tag_id: %Schema{type: :string, description: "Tag ID to lock in for calibration stages"}
|
||||
},
|
||||
required: [:tag_id]
|
||||
})
|
||||
end
|
||||
|
||||
defmodule CalibrationStageParams do
|
||||
require OpenApiSpex
|
||||
OpenApiSpex.schema(%{
|
||||
|
||||
Reference in New Issue
Block a user