NeVeSpl / NTypewriter

File/code generator using Scriban text templates populated with C# code metadata from Roslyn API.
https://nevespl.github.io/NTypewriter/
MIT License
126 stars 25 forks source link

Parameters without body parameter #26

Closed gregveres closed 3 years ago

gregveres commented 3 years ago

fixes #22

the withoutBodyParameter flag to Parameters allows the user to return the list of parameters for the method excluding the parameter that will be sent in the body of the request.

Unit tests were added, including a unit test for without this flag since that did not already exist. I also added a new method on the controller that has no body parameter. This meant I had to update the other unit tests to accomodate this new method.

I updated the docs by running the DocumentGenerator project.