OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
#/components/schemas/~1sources~1{directorySourceId} is not defined
#/components/schemas/~1sources~1{directorySourceId} is not defined
#/components/schemas/~1sources~1{directorySourceId} is not defined
~1sources~1{directorySourceId} (model name starts with number) cannot be used as model name. Renamed to Model1sources1directorySourceId
causing model names to be Model1sources1directorySourceId and Model1sources1directorySourceId1actions.
Bug Report Checklist
Description
Trying to generate a Java client from open api specification.
openapi-generator version
4.3.1
OpenAPI declaration file content or url
Steps to reproduce
./gradlew clean openApiGenerate
It causes error with
causing model names to be
Model1sources1directorySourceId
andModel1sources1directorySourceId1actions
.Related issues/PRs
Previous PR on older versions- 1691
Suggest a fix
This works fine with plugin version 4.2.0