Skip to content

Commit f70d667

Browse files
nWidartdunglas
authored andcommitted
Fixing swagger with jwt authentication (#378)
* Fixing swagger with jwt authentication * Update jwt.md
1 parent df96907 commit f70d667

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/jwt.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ Want to test the routes of your JWT-authentication-protected API?
7171
api_platform:
7272
swagger:
7373
api_keys:
74-
- { name: 'Authorization', type: 'header' }
74+
apiKey:
75+
name: Authorization
76+
type: header
7577
```
7678
7779
And the "Authorize" button will automatically appear in Swagger UI.

0 commit comments

Comments
 (0)