clean-architecture icon indicating copy to clipboard operation
clean-architecture copied to clipboard

Add swagger support for JWT

Open amirhessampourhossein opened this issue 1 year ago • 1 comments

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

amirhessampourhossein avatar Jan 20 '24 08:01 amirhessampourhossein

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
@@            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.

codecov[bot] avatar Jan 20 '24 09:01 codecov[bot]