Skip to content

4.0.0 : bad recase of two letters fields #63

Description

@rperne

Generating with swagger_to_dart 4.0.0 I can observe this generation change :

from

/// id
    @JsonKey(name: MyObject.idKey_) required String id,

to

/// iD
    @JsonKey(name: MyObject.iDKey_) required String iD,

this implies a lot of changes everywhere in the code that uses generated objects

I guess this is the Recase.toCamelCase that has a failing system for two letters word?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions