File tree Expand file tree Collapse file tree
modules/openapi-generator/src/main/java/org/openapitools/codegen/languages
samples/client/petstore/elixir/lib/openapi_petstore/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -204,6 +204,7 @@ public ElixirClientCodegen() {
204204 typeMapping .put ("integer" , "integer()" );
205205 typeMapping .put ("boolean" , "boolean()" );
206206 typeMapping .put ("array" , "list()" );
207+ typeMapping .put ("set" , "list()" );
207208 typeMapping .put ("object" , "map()" );
208209 typeMapping .put ("map" , "map()" );
209210 typeMapping .put ("null" , "nil" );
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ defmodule OpenapiPetstore.Model.Pet do
2222 field :id , :integer
2323 embeds_one :category , OpenapiPetstore.Model.Category
2424 field :name , :string
25- field :photoUrls , :any , virtual: true
25+ field :photoUrls , { :array , :string }
2626 embeds_many :tags , OpenapiPetstore.Model.Tag
2727 field :status , :string
2828 end
You can’t perform that action at this time.
0 commit comments