openapi-generator icon indicating copy to clipboard operation
openapi-generator copied to clipboard

Generated API method name without prefix, postfix

Open MartinMilata opened this issue 8 months ago • 0 comments

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" } } } } } } },

MartinMilata avatar Jun 16 '25 05:06 MartinMilata