mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-12-12 10:45:54 +00:00
fix: cleanup examples for system and connections (#370)
This commit is contained in:
@@ -135,7 +135,7 @@ defmodule WandererAppWeb.MapConnectionAPIController do
|
||||
description: "Map identifier (UUID or slug). Provide either a UUID or a slug.",
|
||||
type: :string,
|
||||
required: true,
|
||||
example: "00000000-0000-0000-0000-000000000000 or my-map-slug"
|
||||
example: "map-slug or map UUID"
|
||||
],
|
||||
solar_system_source: [in: :query, type: :integer, required: false],
|
||||
solar_system_target: [in: :query, type: :integer, required: false]
|
||||
@@ -190,7 +190,7 @@ defmodule WandererAppWeb.MapConnectionAPIController do
|
||||
description: "Map identifier (UUID or slug). Provide either a UUID or a slug.",
|
||||
type: :string,
|
||||
required: true,
|
||||
example: "00000000-0000-0000-0000-000000000000 or my-map-slug"
|
||||
example: "map-slug or map UUID"
|
||||
],
|
||||
id: [in: :path, type: :string, required: false],
|
||||
solar_system_source: [in: :query, type: :integer, required: false],
|
||||
@@ -221,7 +221,7 @@ defmodule WandererAppWeb.MapConnectionAPIController do
|
||||
description: "Map identifier (UUID or slug). Provide either a UUID or a slug.",
|
||||
type: :string,
|
||||
required: true,
|
||||
example: "00000000-0000-0000-0000-000000000000 or my-map-slug"
|
||||
example: "map-slug or map UUID"
|
||||
],
|
||||
system_id: [in: :path, type: :string, required: false]
|
||||
],
|
||||
@@ -259,7 +259,7 @@ defmodule WandererAppWeb.MapConnectionAPIController do
|
||||
description: "Map identifier (UUID or slug). Provide either a UUID or a slug.",
|
||||
type: :string,
|
||||
required: true,
|
||||
example: "00000000-0000-0000-0000-000000000000 or my-map-slug"
|
||||
example: "map-slug or map UUID"
|
||||
],
|
||||
id: [in: :path, type: :string, required: false],
|
||||
solar_system_source: [in: :query, type: :integer, required: false],
|
||||
@@ -347,7 +347,7 @@ defmodule WandererAppWeb.MapConnectionAPIController do
|
||||
description: "Map identifier (UUID or slug). Provide either a UUID or a slug.",
|
||||
type: :string,
|
||||
required: true,
|
||||
example: "00000000-0000-0000-0000-000000000000 or my-map-slug"
|
||||
example: "map-slug or map UUID"
|
||||
],
|
||||
id: [in: :path, type: :string, required: false],
|
||||
solar_system_source: [in: :query, type: :integer, required: false],
|
||||
|
||||
@@ -293,7 +293,7 @@ defmodule WandererAppWeb.MapSystemAPIController do
|
||||
description: "Map identifier (UUID or slug). Provide either a UUID or a slug.",
|
||||
type: :string,
|
||||
required: true,
|
||||
example: "00000000-0000-0000-0000-000000000000 or my-map-slug"
|
||||
example: "my-map-slug or map UUID"
|
||||
]
|
||||
],
|
||||
responses: [
|
||||
@@ -317,7 +317,7 @@ defmodule WandererAppWeb.MapSystemAPIController do
|
||||
description: "Map identifier (UUID or slug). Provide either a UUID or a slug.",
|
||||
type: :string,
|
||||
required: true,
|
||||
example: "00000000-0000-0000-0000-000000000000 or my-map-slug"
|
||||
example: "my-map-slug or map UUID"
|
||||
],
|
||||
id: [in: :path, type: :string, required: true]
|
||||
],
|
||||
@@ -337,7 +337,7 @@ defmodule WandererAppWeb.MapSystemAPIController do
|
||||
description: "Map identifier (UUID or slug). Provide either a UUID or a slug.",
|
||||
type: :string,
|
||||
required: true,
|
||||
example: "00000000-0000-0000-0000-000000000000 or my-map-slug"
|
||||
example: "my-map-slug or map UUID"
|
||||
]
|
||||
],
|
||||
request_body: {"Systems+Connections upsert", "application/json", @batch_request_schema},
|
||||
@@ -361,7 +361,7 @@ defmodule WandererAppWeb.MapSystemAPIController do
|
||||
description: "Map identifier (UUID or slug). Provide either a UUID or a slug.",
|
||||
type: :string,
|
||||
required: true,
|
||||
example: "00000000-0000-0000-0000-000000000000 or my-map-slug"
|
||||
example: "my-map-slug or map UUID"
|
||||
],
|
||||
id: [in: :path, type: :string, required: true]
|
||||
],
|
||||
@@ -384,7 +384,7 @@ defmodule WandererAppWeb.MapSystemAPIController do
|
||||
description: "Map identifier (UUID or slug). Provide either a UUID or a slug.",
|
||||
type: :string,
|
||||
required: true,
|
||||
example: "00000000-0000-0000-0000-000000000000 or my-map-slug"
|
||||
example: "my-map-slug or map UUID"
|
||||
]
|
||||
],
|
||||
request_body: {"Batch delete", "application/json", @batch_delete_schema},
|
||||
@@ -431,7 +431,7 @@ defmodule WandererAppWeb.MapSystemAPIController do
|
||||
description: "Map identifier (UUID or slug). Provide either a UUID or a slug.",
|
||||
type: :string,
|
||||
required: true,
|
||||
example: "00000000-0000-0000-0000-000000000000 or my-map-slug"
|
||||
example: "my-map-slug or map UUID"
|
||||
],
|
||||
id: [in: :path, type: :string, required: true]
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user