We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d72b569 commit a5304e6Copy full SHA for a5304e6
lib/ash_json_api/json_schema/json_schema.ex
@@ -452,7 +452,7 @@ defmodule AshJsonApi.JsonSchema do
452
resource_attribute_type(Map.merge(attr, %{type: new_type, constraints: new_constraints}))
453
454
Spark.implements_behaviour?(type, Ash.Type.Enum) ->
455
- %{"type" => "string", "enum" => type.values()}
+ %{"type" => "string", "enum" => Enum.map(type.values(), &to_string/1)}
456
457
true ->
458
%{
0 commit comments