mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-12-12 02:35:42 +00:00
fix: api dropping custom name
This commit is contained in:
@@ -80,6 +80,11 @@ defmodule WandererAppWeb.MapSystemAPIController do
|
||||
properties: %{
|
||||
solar_system_id: %Schema{type: :integer, description: "EVE solar system ID"},
|
||||
solar_system_name: %Schema{type: :string, description: "EVE solar system name"},
|
||||
custom_name: %Schema{
|
||||
type: :string,
|
||||
nullable: true,
|
||||
description: "Custom name for the system"
|
||||
},
|
||||
position_x: %Schema{type: :integer, description: "X coordinate"},
|
||||
position_y: %Schema{type: :integer, description: "Y coordinate"},
|
||||
status: %Schema{
|
||||
@@ -98,6 +103,7 @@ defmodule WandererAppWeb.MapSystemAPIController do
|
||||
example: %{
|
||||
solar_system_id: 30_000_142,
|
||||
solar_system_name: "Jita",
|
||||
custom_name: "Trade Hub",
|
||||
position_x: 100,
|
||||
position_y: 200,
|
||||
visible: true,
|
||||
@@ -113,6 +119,11 @@ defmodule WandererAppWeb.MapSystemAPIController do
|
||||
description: "EVE solar system name",
|
||||
nullable: true
|
||||
},
|
||||
custom_name: %Schema{
|
||||
type: :string,
|
||||
nullable: true,
|
||||
description: "Custom name for the system"
|
||||
},
|
||||
position_x: %Schema{type: :integer, description: "X coordinate", nullable: true},
|
||||
position_y: %Schema{type: :integer, description: "Y coordinate", nullable: true},
|
||||
status: %Schema{
|
||||
@@ -130,6 +141,7 @@ defmodule WandererAppWeb.MapSystemAPIController do
|
||||
},
|
||||
example: %{
|
||||
solar_system_name: "Jita",
|
||||
custom_name: "Trade Hub",
|
||||
position_x: 101,
|
||||
position_y: 202,
|
||||
visible: false,
|
||||
|
||||
Reference in New Issue
Block a user