Skip to content

[BUG][swift5] module and class with same name #9953

@Feuerwerk

Description

@Feuerwerk
Description

Since your change to deprecate the #projectName#API class and replace it with the #projectName# class in the APIs file and naming the module also #projectName# it is now impossible to access an api model type by adding the module name since the swift compiler now complains the the class #projectName# doesn't contain the type XXX

This is due to a bug in the swift compiler (see https://bugs.swift.org/browse/SR-898) which is still not resolved.

openapi-generator version

5.2.0

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