fix: sensor schema drift

This commit is contained in:
2026-05-13 20:28:21 +02:00
parent b1c7ded7ab
commit ecc0870cae
4 changed files with 26 additions and 7 deletions
+3 -3
View File
@@ -250,10 +250,10 @@ defmodule Localiser.Web.Schemas do
title: "SensorPlaceParams", type: :object,
properties: %{
room_id: %Schema{type: :integer},
offset_x: %Schema{type: :number, format: :float},
offset_y: %Schema{type: :number, format: :float}
x: %Schema{type: :number, format: :float},
y: %Schema{type: :number, format: :float}
},
required: [:room_id, :offset_x, :offset_y]
required: [:room_id, :x, :y]
})
end