Minimal spec
https://gist.github.com/axbusch/d7c0a34ff31167e052f4eed7ad5c744d
Version: 4.2.3-SNAPSHOT
cmd:
OPENAPI_GENERATOR_VERSION=4.2.3-SNAPSHOT ./openapi-generator-cli generate -i ~/bin/weather_minimal.yaml -g c -o ~/openweather-c-minimal
Problem
The parameters are defined as enums in the API specification, so i expect i get some enums in my c-sources
Output
A default API is created with
model_200_t* DefaultAPI_weatherGet(apiClient_t *apiClient ,units_e units ,mode_e mode);
But the enums for units_e & mode_e are not defined
Minimal spec
https://gist.github.com/axbusch/d7c0a34ff31167e052f4eed7ad5c744d
Version: 4.2.3-SNAPSHOT
cmd:
OPENAPI_GENERATOR_VERSION=4.2.3-SNAPSHOT ./openapi-generator-cli generate -i ~/bin/weather_minimal.yaml -g c -o ~/openweather-c-minimal
Problem
The parameters are defined as enums in the API specification, so i expect i get some enums in my c-sources
Output
A default API is created with
But the enums for units_e & mode_e are not defined