refactor: change room offset_{x,y} to just {x,y}

This commit is contained in:
2026-05-12 15:38:08 +02:00
parent 7e18fce3ac
commit 74fdd2568e
6 changed files with 21 additions and 21 deletions
+3 -3
View File
@@ -250,10 +250,10 @@ defmodule Localiser.Web.Schemas do
title: "SensorPlaceParams", type: :object,
properties: %{
room_id: %Schema{type: :integer},
x: %Schema{type: :number, format: :float},
y: %Schema{type: :number, format: :float}
offset_x: %Schema{type: :number, format: :float},
offset_y: %Schema{type: :number, format: :float}
},
required: [:room_id, :x, :y]
required: [:room_id, :offset_x, :offset_y]
})
end