fix schema
All checks were successful
Build and Publish / build-release (push) Successful in 1m23s

This commit is contained in:
2026-04-22 16:37:53 -05:00
parent 2adb948b8e
commit 82a92a9116
2 changed files with 5 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ defmodule PolicyService.Commands.Policy do
typedstruct do
field :id, PolicyService.Aggregates.PolicyId.t(), enforce: true
field :accepted_by, String.t(), enforce: true
field :accepted_by, String.t()
field :accepted_plan_id, String.t(), enforce: true
end
end

View File

@@ -229,8 +229,10 @@ defmodule PolicyServiceWeb.Schemas.Policy do
type: :object,
required: [:accepted_plan_id],
properties: %{
quote_id: %Schema{type: :string},
plan_id: %Schema{type: :string}
accepted_plan_id: %Schema{
type: :string,
description: "Plan ID to accept"
}
}
})
end