Skip to content

Add trimPrefix and trimSuffix to template FuncMap #2737

@kevinbarbour

Description

@kevinbarbour

Feature Request

When using custom templates for code generation I would like to be able to manipulate strings a bit better - specifically with the strings functions trimPrefix and trimSuffix.

This allows for some useful modification of names defined in Swagger spec that I would like to portray differently in a generated CLI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions