Skip to content

"--operationId" still includes service name #133

Closed
@maxoosterveen

Description

@maxoosterveen

Describe the bug
When running the generator command with the option --operationId still includes the service names in the hooks

To Reproduce
Steps to reproduce the behavior:
pnpm exec openapi-rq -i ./internal.json --operationId

OpenAPI spec file
If possible, please upload the OpenAPI spec file.

Expected behavior
A clear and concise description of what you expected to happen.
Instead of having the service name in the function hook, I would like it to only use the operation id. useServiceNameOperationId > useOperationId

Screenshots
If applicable, add screenshots or logs to help explain your problem.

  • OS: [e.g. macOS]
  • macOS
  • Version [e.g. v1.0.0]
  • 1.4.1

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions