Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
defmodule PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity do
@moduledoc """
OpenAPI schema for a generic 422 response
"""
use PlausibleWeb, :open_api_schema
OpenApiSpex.schema(%{
description: """
The response that is returned when the user makes a request that cannot be
processed.
""",
type: :object,
title: "UnprocessableEntityError",
required: [:errors],
properties: %{
errors: %Schema{
items: Schemas.Error,
type: :array
}
}
})
end