forked from loafle/openapi-generator-original
This is the initial Codegen for Elm 0.18. Please try it out and provide feedback. Not yet supported: * path variables; * additionalProperties; * authentication; * recursive types.
5 lines
198 B
Plaintext
5 lines
198 B
Plaintext
{{classVarName}}Decoder : Decoder {{classname}}
|
|
{{classVarName}}Decoder =
|
|
decode {{classname}}
|
|
{{#allVars}}{{^discriminatorValue}} |> {{>fieldDecoder}}
|
|
{{/discriminatorValue}}{{/allVars}} |