Jusas / NSwag.AzureFunctionsV2

NSwag for Azure Functions
MIT License
20 stars 5 forks source link

How to generate the Api Description .json file #11

Open somanysteves opened 4 years ago

somanysteves commented 4 years ago

This project looks pretty awesome, but what I'm really trying to do is generate c# clients. I know I can do that once I have the description.json file. And previously I was getting the file by using nswag with this aspnetcore2openapi when it was an asp.net core project. Now that I'm moving to azure functions I seem to be unable to replicate that functionality. Any help would be appreciated.

RicoSuter commented 4 years ago

I created an http endpoint trigger which generates it.