AutoWrapper icon indicating copy to clipboard operation
AutoWrapper copied to clipboard

Dynamic Api Version per endpoint possible?

Open abelfiore opened this issue 4 years ago • 2 comments

Would it be possible to enhance AutoWrapper to dynamically show the Api Version of each endpoint (they can all theoretically be different)? I'm assuming the ApiVersion option is currently a static global version for the entire api.

abelfiore avatar Nov 25 '20 12:11 abelfiore

The ApiResponse object has an overload that allows you to pass in the API version. Have you tried that?

proudmonkey avatar Nov 25 '20 16:11 proudmonkey

Yes, I saw that, but was wondering if AutoWrapper could support a way to do this without explicitly doing anything in the controller endpoints. In other words, detect the api version of the method executing.

abelfiore avatar Nov 25 '20 17:11 abelfiore