From 95fbcf131fac130a7ed1a07b34b1e999d30c87f7 Mon Sep 17 00:00:00 2001 From: Fleeym <61891787+Fleeym@users.noreply.github.com> Date: Sat, 2 Mar 2024 19:31:54 +0200 Subject: [PATCH] update /v1/mods/{id} on spec --- openapi.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/openapi.yml b/openapi.yml index 0fbc70b..5e22fb6 100644 --- a/openapi.yml +++ b/openapi.yml @@ -205,11 +205,22 @@ paths: /v1/mods/{id}: get: tags: - - "mods" + - mods summary: Get info for a mod description: Returns info for the mod, without dependencies and incompatibilities parameters: - $ref: "#/components/parameters/ModID" + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/Mod" + "404": + $ref: "#/components/responses/NotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" put: tags: