open-api-generator icon indicating copy to clipboard operation
open-api-generator copied to clipboard

support for specs with numeric schema names

Open ericphanson opened this issue 11 months ago • 1 comments

e.g. https://opendata.aemet.es/AEMET_OpenData_specification.json uses "200" as a schema name, but open-api-generator fails to generate the schemas correctly (and also doesn't throw an error!).

ericphanson avatar Jan 06 '25 20:01 ericphanson

Hi there 👋🏼

This is an interesting case. In order to make a valid Elixir module name, we'll need to prefix the schema name with something. Do you have any suggestions what might be a good choice? (ex. S200)

aj-foster avatar Jan 29 '25 15:01 aj-foster