You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/source/devinstall.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -69,8 +69,8 @@ make docs
69
69
After modifying any of the APIs in `jupyter-websocket` mode, you must update the project's Swagger API specification.
70
70
71
71
1. Load the current
72
-
[swagger.yaml](https://github.com/jupyter/kernel_gateway/blob/master/kernel_gateway/services/api/swagger.yaml) file into the [Swagger editor](http://editor.swagger.io/#/).
72
+
[swagger.yaml](https://github.com/jupyter/kernel_gateway/blob/master/kernel_gateway/jupyter_websocket/swagger.yaml) file into the [Swagger editor](http://editor.swagger.io/#/).
73
73
2. Make your changes.
74
74
3. Export both the `swagger.json` and `swagger.yaml` files.
75
-
4. Place the files in `kernel_gateway/services/api`.
75
+
4. Place the files in `kernel_gateway/jupyter_websocket`.
Copy file name to clipboardexpand all lines: kernel_gateway/jupyter_websocket/swagger.json
+12-3
Original file line number
Diff line number
Diff line change
@@ -34,11 +34,17 @@
34
34
}
35
35
},
36
36
"securityDefinitions": {
37
-
"token": {
37
+
"tokenHeader": {
38
38
"type": "apiKey",
39
39
"name": "Authorization",
40
40
"in": "header",
41
-
"description": "The authorization token to verify authorization. This is only needed when `KernelGatewayApp.auth_token` is set. This should take the form of `token {value}` where `{value}` is the value of the token."
41
+
"description": "The authorization token to verify authorization. This is only needed when `KernelGatewayApp.auth_token` is set. This should take the form of `token {value}` where `{value}` is the value of the token. Alternatively, the token can be passed as a query parameter."
42
+
},
43
+
"tokenParam": {
44
+
"type": "apiKey",
45
+
"name": "token",
46
+
"in": "query",
47
+
"description": "The authorization token to verify authorization. This is only needed when `KernelGatewayApp.auth_token` is set. This should take the form of `token={value}` where `{value}` is the value of the token. Alternatively, the token can be passed as a header."
0 commit comments