From 15968714bd50970264bf44d7bfd72f0076919ed2 Mon Sep 17 00:00:00 2001 From: Bruce MacDonald Date: Tue, 11 Nov 2025 15:07:21 -0800 Subject: [PATCH] docs/openapi: document that delete and copy responses are empty (#13055) Some route endpoints return an empty response with a 200 OK. These should be documented in the OpenAPI doc. Note that the previous deletion response was not correct. --- docs/openapi.yaml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/docs/openapi.yaml b/docs/openapi.yaml index 28e4eed6..6448bd9c 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -1275,6 +1275,9 @@ paths: example: source: gemma3 destination: gemma3-backup + responses: + "200": + description: Model successfully copied /api/pull: post: summary: Pull a model @@ -1382,16 +1385,7 @@ paths: model: gemma3 responses: "200": - description: Deletion status updates. - content: - application/json: - schema: - $ref: "#/components/schemas/StatusResponse" - example: - status: "success" - application/x-ndjson: - schema: - $ref: "#/components/schemas/StatusEvent" + description: Model successfully deleted /api/version: get: summary: Get version