Toby Archer
Toby Archer
This is still broken on the new implementation and blocking usage of openapi-generator in Elixir for any string enum components.
Hi @barttenbrinke, thanks for looking around to this. I've made a couple of attempts to fix or investigate this but I don't get any further. What I find very weird...
I believe adding the following test case will highlight this: ```elixir defmodule EnumTest do use ExUnit.Case, async: true alias OpenapiPetstore.Deserializer alias OpenapiPetstore.Model.EnumTest @valid_json """ { "enum_string": "UPPER", "outerEnum": "placed" }...
Hi folks, finally got some vacation time to circle back on this. Are we sure the example I posted succeeds? With a fresh checkout I have the following; however in...
I think the main root issue here is the generated enum modules are just empty struct, ```exlixir iex(3)> OpenapiPetstore.Model.OuterEnum.__struct__ %OpenapiPetstore.Model.OuterEnum{} ``` Which is more or less unusable.
As a note for anyone facing this; modifying the JSON via the `Plugins > JSON Config` interface will not work. Instead ensure to modify through the sidebars `JSON Config` and...