Nswag: Question: MSBuild Filtering controller methods for generated code

Created on 23 Oct 2018  路  1Comment  路  Source: RicoSuter/NSwag

I am using NSwag.MSBuild to generate C# client code for various controller methods, and it works great.
Is it possible to integrate another language output (e.g. typescript) into this same process BUT exclude certain controllers/methods? E.g. I'd like the typescript output to be a subset of the c# output.

done question

Most helpful comment

You need to run it twice with different configs (e.g. another operation processor which filters out different operations).

>All comments

You need to run it twice with different configs (e.g. another operation processor which filters out different operations).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

akamyshanov picture akamyshanov  路  4Comments

Rui90 picture Rui90  路  4Comments

slimjack picture slimjack  路  3Comments

AnthonySteele picture AnthonySteele  路  3Comments

RawsomeGH picture RawsomeGH  路  4Comments