datamodel-code-generator icon indicating copy to clipboard operation
datamodel-code-generator copied to clipboard

How to change endpoints naming template?

Open funnydman opened this issue 1 year ago • 0 comments

I run the comand:

datamodel-codegen  --url http://localhost:8000/openapi.json --output src/server/models/language_server_rpc.py --openapi-scopes schemas paths tags parameters --output-model-type pydantic.BaseModel

And endpoint params are named like this: ApiV2WorkspacesWorkspaceIdMapDependenciesPostResponse

Is it possible to change that naming template?

funnydman avatar Apr 07 '24 17:04 funnydman