Hi. We are implementing an application in asp.net zero & boilerplate. We need to change the default Metronics grids for Kendo grids and we are including some functionalities like a new methods in the server side.
The new methods have a sign like this
Task<DataSourceResult> GetUsers([DataSourceRequest]DataSourceRequest request)
The problem we have is when we generate the service-proxies.ts file runing the refresh.bat in the folder \angular\nswag, because we don't need the tool includes our new methods inside each ServiceProxy class it generates because we have another ".ts" proxy file with the definition to use our new methods.
So, how can we indicate a method has to be ignored by the refresh.bat tool generating the service proxy?
Regards
1 Answer(s)
-
0
Hi,
AspNet Zero uses https://github.com/domaindrivendev/Swashbuckle.AspNetCore to generate swagger file.
For specific actions, this sould work https://github.com/domaindrivendev/Swashbuckle.AspNetCore#decorate-individual-actions-1.