Nswag: Set custom IOperationNameGenerator for client code generation (CSharp)

Created on 30 Jan 2017  路  4Comments  路  Source: RicoSuter/NSwag

It would be very nice if you will allow to setup custom IOperationNameGenerator.
For now it is possible to setup only one of 3 available schemes (from OperationGenerationMode enumeration)

Could you make public OperationNameGenerator with set parameter? for custom OperationNameGenerator provide OperationGenerationMode.Custom value.

enhancement

Most helpful comment

Hi there,

I would like to implement my own IOperationNameGenerator. Can you describe how I would do this or maybe point me to some documentation?

All 4 comments

Hi again!
You added this feature to vNext release, thank you!.
So want to ask you approximate release dates :) (days/weeks/months). It will help me in my milestone(decision to wait or to hack for now)

You can now test with the CI nuget packages... I hope the release will be next week. I plan to do some more refactorings and release a major version (because there are some breaking changes).

Works like a charm! Thank you!

Hi there,

I would like to implement my own IOperationNameGenerator. Can you describe how I would do this or maybe point me to some documentation?

Was this page helpful?
0 / 5 - 0 ratings