Skip to content

[BUG] C Libcurl no enums created #5091

@axbusch

Description

@axbusch

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions