diff --git a/modules/swagger-codegen/src/main/resources/elixir/model.mustache b/modules/swagger-codegen/src/main/resources/elixir/model.mustache index ea43f78e0fc..7d869299164 100644 --- a/modules/swagger-codegen/src/main/resources/elixir/model.mustache +++ b/modules/swagger-codegen/src/main/resources/elixir/model.mustache @@ -1,8 +1,13 @@ {{>licenseInfo}} {{#models}}{{#model}}defmodule {{moduleName}}.Model.{{classname}} do - @moduledoc """ + @moduledoc {{#description}} + """ {{description}} """ + {{/description}} + {{^description}} + false + {{/description}} @derive [Poison.Encoder] defstruct [