Skip to content

Commit

Permalink
update /v1/mods/{id} on spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleeym committed Mar 2, 2024
1 parent 1f4b712 commit 95fbcf1
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 95fbcf1

Please sign in to comment.