twitchax / AspNetCore.Proxy

ASP.NET Core Proxies made easy.
MIT License
505 stars 80 forks source link

Loading proxy endpoints in swagger #111

Closed Matthew-Oduamafu closed 8 months ago

Matthew-Oduamafu commented 8 months ago

Hello @twitchax kindly provide example code how to get the proxy endpoints in swagger

twitchax commented 8 months ago

If you're using the registered routes (i.e., [Route("api/posts/{postId}")]), then this should "just work" with your usual method of generating swagger definitions.

Matthew-Oduamafu commented 8 months ago

Thanks @twitchax