Skip to content

[QUESTION] basePath is not generated #829

@dn9z

Description

@dn9z

Please describe a problem.
It seems like swagger-dart-code-generator does not support the "servers" array in the Swagger JSON file. In OpenAPI 3.0 "basePath" is deprecated. My Swagger JSON file is auto generated and the generator does not support the "basePath" field. This means I have to add the "basePath" field manually.

Describe the solution you'd like
Ideally add support for "servers" array. If there is a problem with the field being an array, add configuration in build.yaml to select index or something similar.

Metadata

Metadata

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions