[OpenAPITools/openapi-generator] [Ocaml] Some types get generated with illegal characters in their names in the file support/Enums.ml
Created by: cgensoul
Bug Report Checklist
-
Have you provided a full/minimal spec to reproduce the issue? -
Have you validated the input using an OpenAPI validator (example)? -
Have you tested with the latest master to confirm the issue still exists? -
Have you searched for related issues/PRs? -
What's the actual output vs expected output? -
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
The file https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.yaml describes types with '.' (dot) characters in their name which end up in OCaml type identifiers in the generated code which is illegal (namely in support/Enums.ml).
openapi-generator version
v5.0.0-beta2
OpenAPI declaration file content or url
https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.yaml