Skip to content

custom operationIdStrategy implementation #2243

@Postremus

Description

@Postremus

In my quarkus app, all resource classes have the suffix Resource.
I would like to remove this suffix when generating the operation-id.
For example right now I use mp.openapi.extensions.smallrye.operationIdStrategy=CLASS_METHOD.

ContextResourceV3#List becomes ContextResourceV3_List, but I would prefer ContextV3_List.
This is mostly because this looks cleaner when used for a generated client.

Could you maybe add an option, to provide a custom implementation for the operationIdStrategy?

Metadata

Metadata

Assignees

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