Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow access to swagger UI when protected by API key #570

Conversation

andrewwhitehead
Copy link
Contributor

@andrewwhitehead andrewwhitehead commented Jun 22, 2020

And show authorization options in swagger UI
Includes changes from PR #528

@andrewwhitehead andrewwhitehead requested a review from nrempel June 22, 2020 17:11
@andrewwhitehead andrewwhitehead linked an issue Jun 22, 2020 that may be closed by this pull request
@codecov-commenter
Copy link

codecov-commenter commented Jun 22, 2020

Codecov Report

Merging #570 into master will increase coverage by 0.02%.
The diff coverage is 87.09%.

@@            Coverage Diff             @@
##           master     #570      +/-   ##
==========================================
+ Coverage   96.77%   96.79%   +0.02%     
==========================================
  Files         240      240              
  Lines       12786    12805      +19     
==========================================
+ Hits        12374    12395      +21     
+ Misses        412      410       -2     

@andrewwhitehead andrewwhitehead requested a review from sklump June 22, 2020 18:58
@andrewwhitehead andrewwhitehead force-pushed the feature/unprotected-swagger branch from 248298a to 82c00bd Compare June 22, 2020 19:54
andrewwhitehead and others added 2 commits June 22, 2020 13:06
This is the proposed option number 2. It uses the websocket
to expect a message with the admin api key before it is being
used to transmit any other messages than 'ping'

Signed-off-by: Matthias Binzer <[email protected]>
@andrewwhitehead andrewwhitehead force-pushed the feature/unprotected-swagger branch from 82c00bd to 26410d0 Compare June 22, 2020 20:06
@andrewwhitehead andrewwhitehead merged commit afa4575 into openwallet-foundation:master Jun 23, 2020
@andrewwhitehead andrewwhitehead deleted the feature/unprotected-swagger branch February 25, 2021 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Admin Swagger UI not available when using api-key
3 participants