Skip to content

Enhancement: the type names in the generated OpenAPI Schema are ugly and unreadable #4295

@hsq125

Description

@hsq125

Summary

Here is one single example. In Python I have the following class

class SearchFaceMargins(Struct):...

that gets transformed in an unreadable type name like this

GetSetOfEventSearchFaceConfigSearchFaceMarginsResponseBody

altough it should just be something like SearchFaceMargins

I understand that it is an easy strategy to avoid collisions, but too naive, leading to unsable generated code. These type names are unreadable and make the typescript client code also unreadable.

As such, the schema generation in unusable. Is there a possiblity to change that ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementThis is a new feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions