From b0205c4b78829f1e51b385bd62d8cff64d42a423 Mon Sep 17 00:00:00 2001 From: M Pacer Date: Mon, 16 Oct 2017 17:46:23 -0700 Subject: [PATCH] cleanup swagger API docs --- notebook/services/api/api.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/notebook/services/api/api.yaml b/notebook/services/api/api.yaml index a0bdbb2dc..5fdefe3e7 100644 --- a/notebook/services/api/api.yaml +++ b/notebook/services/api/api.yaml @@ -5,7 +5,7 @@ info: version: "5" contact: name: Jupyter Project - url: jupyter.org + url: https://jupyter.org # will be prefixed to all paths basePath: /api produces: @@ -363,7 +363,7 @@ paths: in: body required: true schema: - $ref: '#definitions/Session' + $ref: '#/definitions/Session' responses: 200: description: Session @@ -400,7 +400,7 @@ paths: - name: session in: body schema: - $ref: '#definitions/Session' + $ref: '#/definitions/Session' responses: 201: description: Session created or returned @@ -549,8 +549,6 @@ paths: description: Configuration object schema: type: object - items: - $ref: '#/parameters/section_name' /terminals: get: @@ -623,7 +621,8 @@ paths: responses: 200: description: The current status of the server - $ref: '#/definitions/APIStatus' + schema: + $ref: '#/definitions/APIStatus' definitions: APIStatus: description: | @@ -655,7 +654,6 @@ definitions: description: Unique name for kernel KernelSpecFile: $ref: '#/definitions/KernelSpecFile' - description: Kernel spec json file resources: type: object properties: