File tree 2 files changed +2
-1
lines changed
modules/openapi-generator/src/main/java/org/openapitools/codegen/languages
samples/client/petstore/elixir/lib/openapi_petstore/model
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -204,6 +204,7 @@ public ElixirClientCodegen() {
204
204
typeMapping .put ("integer" , "integer()" );
205
205
typeMapping .put ("boolean" , "boolean()" );
206
206
typeMapping .put ("array" , "list()" );
207
+ typeMapping .put ("set" , "list()" );
207
208
typeMapping .put ("object" , "map()" );
208
209
typeMapping .put ("map" , "map()" );
209
210
typeMapping .put ("null" , "nil" );
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ defmodule OpenapiPetstore.Model.Pet do
22
22
field :id , :integer
23
23
embeds_one :category , OpenapiPetstore.Model.Category
24
24
field :name , :string
25
- field :photoUrls , :any , virtual: true
25
+ field :photoUrls , { :array , :string }
26
26
embeds_many :tags , OpenapiPetstore.Model.Tag
27
27
field :status , :string
28
28
end
You can’t perform that action at this time.
0 commit comments