Skip to content

Generated API method name with prefix, postfix #930

Closed as duplicate
Closed as duplicate
@MartinMilata

Description

@MartinMilata

Good morning,
my swagger json is without operationId.. (I cannot change it, it is from external company).. It looks this way:
And method generated by openapitool looks this way: backEndAdministrationGetTenantRolesAndGroupsPost.
Is there any way, any customization, that method would have name like GetTenantRolesAndGroups?

BR Martin

"paths": {
"/BackEnd/Administration/GetTenantRolesAndGroups": {
"post": {
"tags": [
"Administration"
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/UserRoleViewModel"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserRoleViewModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UserRoleViewModel"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"text/plain": {
"schema": {
"type": "string"
}
},
"application/json": {
"schema": {
"type": "string"
}
},
"text/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},

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