Commit 28eba93
David Brewer
Fixed header-based authorization.
Previous to this update, when I tried to do API-key authorization using
headers rather than the query string, Swagger-UI would not send my
authorization headers. This update basically makes the authorization
options get set AFTER Swagger-UI has finished initializing, which seems
to make the system much happier. Changes based on a conversation on a
mostly-unrelated pull request,
ruby-grape#251 parent 59372ab commit 28eba93
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
43 | | - | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | | - | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments