From 98405f25b776ec7c6b1e48a81c9bd4ec10597d7b Mon Sep 17 00:00:00 2001 From: Matt Miller Date: Wed, 27 May 2026 15:52:37 -0700 Subject: [PATCH] openapi: remove unused hub profile endpoints MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GET /api/hub/profiles/{username} (getHubProfile) and PUT /api/hub/profiles/me (updateMyHubProfile) have no implementation in core and no callers in any Comfy-Org client (verified org-wide). Removing both from the shared spec. GET /api/hub/profiles/me is retained — it's actively used by the frontend. --- openapi.yaml | 87 ---------------------------------------------------- 1 file changed, 87 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index f801a39d9..86783d233 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -3690,40 +3690,6 @@ paths: schema: $ref: "#/components/schemas/CloudError" - '500': - description: Internal server error - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - /api/hub/profiles/{username}: - get: - operationId: getHubProfile - tags: [hub] - summary: Get a hub profile by username - description: "[cloud-only] Returns the public hub profile for the given username." - x-runtime: [cloud] - parameters: - - name: username - in: path - required: true - schema: - type: string - description: Hub username - responses: - "200": - description: Profile - content: - application/json: - schema: - $ref: "#/components/schemas/HubProfile" - "404": - description: Not found - content: - application/json: - schema: - $ref: "#/components/schemas/CloudError" - '500': description: Internal server error content: @@ -3807,59 +3773,6 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' - put: - operationId: updateMyHubProfile - tags: [hub] - summary: Update the authenticated user's hub profile - description: "[cloud-only] Updates the hub profile of the currently authenticated user." - x-runtime: [cloud] - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - username: - type: string - display_name: - type: string - bio: - type: string - avatar_url: - type: string - format: uri - links: - type: array - items: - type: string - format: uri - responses: - "200": - description: Updated profile - content: - application/json: - schema: - $ref: "#/components/schemas/HubProfile" - "400": - description: Bad request - content: - application/json: - schema: - $ref: "#/components/schemas/CloudError" - "401": - description: Unauthorized - content: - application/json: - schema: - $ref: "#/components/schemas/CloudError" - "409": - description: Conflict - content: - application/json: - schema: - $ref: "#/components/schemas/CloudError" - /api/hub/workflows: get: operationId: listHubWorkflows