We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Call endpoint /api/kernelspecs.
/api/kernelspecs
Response JSON adheres to swagger.yaml response definion.
swagger.yaml
Jupyter-kernel-gateway 2.5.2, when calling the /api/kernelspecs endpoint, returned this:
$ curl http://X.X.X.X:8888/api/kernelspecs | python -mjson.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 410 100 410 0 0 400k 0 --:--:-- --:--:-- --:--:-- 400k { "default": "python3", "kernelspecs": { "python3": { "name": "python3", "spec": { "argv": [ "python", "-m", "ipykernel_launcher", "-f", "{connection_file}" ], "env": {}, "display_name": "Python 3 (ipykernel)", "language": "python", "interrupt_mode": "signal", "metadata": { "debugger": true } }, "resources": { "logo-32x32": "/kernelspecs/python3/logo-32x32.png", "logo-64x64": "/kernelspecs/python3/logo-64x64.png" } } } }
However, in the provided swagger.yaml, under definitions/KernelSpec, there is a KernelSpecFile property defined instead of the returned spec.
definitions/KernelSpec
KernelSpecFile
spec
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description
Reproduce
Call endpoint
/api/kernelspecs
.Expected behavior
Response JSON adheres to
swagger.yaml
response definion.Context
Jupyter-kernel-gateway 2.5.2, when calling the
/api/kernelspecs
endpoint, returned this:However, in the provided
swagger.yaml
, underdefinitions/KernelSpec
, there is aKernelSpecFile
property defined instead of the returnedspec
.The text was updated successfully, but these errors were encountered: