refactor: change room offset_{x,y} to just {x,y}
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user