refactor: add tests and ci gates for quality

This commit is contained in:
guarzo
2025-06-27 13:50:54 -04:00
parent 472dbaa68b
commit d390455cf2
136 changed files with 19659 additions and 1233 deletions

View File

@@ -33,7 +33,7 @@ defmodule WandererAppWeb.CharactersAPIController do
GET /api/characters
"""
@spec index(Plug.Conn.t(), map()) :: Plug.Conn.t()
operation :index,
operation(:index,
summary: "List Characters",
description: "Lists ALL characters in the database.",
responses: [
@@ -43,6 +43,8 @@ defmodule WandererAppWeb.CharactersAPIController do
@characters_index_response_schema
}
]
)
def index(conn, _params) do
case WandererApp.Api.read(Character) do
{:ok, characters} ->