KartaWeb.API.V2.Schemas (Karta v1.0.0)

The schemas of /api/v2 (KartaWeb.API.V2.Spec).

The document is OpenAPI 3.1, written with the part of open_api_spex that means the same in 3.0 and 3.1: no nullable (a value that is unknown is left out of an answer instead of being null), no boolean exclusiveMinimum. Request bodies accept only the properties listed.

Summary

Functions

Error answers for the given statuses, as responses: of an operation.

Functions

errors(statuses)

@spec errors([pos_integer()]) :: %{
  required(pos_integer()) => {String.t(), String.t(), module()}
}

Error answers for the given statuses, as responses: of an operation.