Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load custom IOperationNameGenerator from custom assembly #2340

Closed
ktmathe opened this issue Aug 1, 2019 · 2 comments
Closed

Load custom IOperationNameGenerator from custom assembly #2340

ktmathe opened this issue Aug 1, 2019 · 2 comments

Comments

@ktmathe
Copy link

ktmathe commented Aug 1, 2019

Hi,
I see that there is some ongoing development with this issue, so just wanted to ask is there an approximate release date for this.
#924 #551
I could imagine this as a possible solution:
Add a new value - OperationGenerationMode.Custom - in OpenApiToCSharpCommandBase.OperationGenerationMode.
In that case ClientGeneratorBaseSettings.OperationNameGenerator should be loaded from a custom assembly and the class/assembly name could be set with a new configuration e.g OpenApiToCSharpCommandBase.OperationNameGeneratorTypeName.

@RicoSuter
Copy link
Owner

Quite some work to do and not requested much.
For now you’d need to write your own cli with the libs

@RicoSuter
Copy link
Owner

RicoSuter commented Sep 28, 2023

Closed as not required anymore as assembly loading feature has been dropped, only csproj loading is supported and with that you'll implement the processor directly in the app (v14)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants