change policy_details to insured_object
All checks were successful
Build and Publish / build-release (push) Successful in 1m40s
All checks were successful
Build and Publish / build-release (push) Successful in 1m40s
This commit is contained in:
@@ -40,11 +40,11 @@ defmodule WorkloadServiceWeb.Schemas.Task do
|
||||
OpenApiSpex.schema(%{
|
||||
title: "QuoteTaskInfo",
|
||||
type: :object,
|
||||
required: [:provider_id, :applicant_info, :policy_details],
|
||||
required: [:provider_id, :applicant_info, :insured_object],
|
||||
properties: %{
|
||||
provider_id: %Schema{type: :string},
|
||||
applicant_info: %Schema{type: :object, additionalProperties: true},
|
||||
policy_details: %Schema{type: :object, additionalProperties: true},
|
||||
insured_object: %Schema{type: :object, additionalProperties: true},
|
||||
provider_email: %Schema{type: :string, nullable: true}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user