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 24 forks source link

added withoutBodyParameter argument to Parameters #25

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.

gregveres commented 3 years ago

This had conflicts with @NeVeSpl checkin. I rebased my branch and resolved the conflicts. Another PR is coming.