amantinband / clean-architecture

The ultimate clean architecture template for .NET applications 💪
MIT License
1.53k stars 254 forks source link

Add swagger support for JWT #22

Closed amirhessampourhossein closed 8 months ago

amirhessampourhossein commented 8 months ago

I thought being able to insert the token inside swagger would be a good idea. I also tried to remove the token requirement only for the GenerateToken api, but I couldn't find a way to achieve this. what do you think ? @amantinband

codecov[bot] commented 8 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (5822811) 65.46% compared to head (6d77b27) 66.35%.

:exclamation: Current head 6d77b27 differs from pull request most recent head 8c72e60. Consider uploading reports for the commit 8c72e60 to get more accurate results

Files Patch % Lines
...CleanArchitecture.Api/Controllers/ApiController.cs 66.66% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #22 +/- ## ========================================== + Coverage 65.46% 66.35% +0.89% ========================================== Files 95 96 +1 Lines 1390 1412 +22 Branches 86 85 -1 ========================================== + Hits 910 937 +27 + Misses 439 435 -4 + Partials 41 40 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.