Skip to content

Commit

Permalink
add developers to mod in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleeym committed Feb 14, 2024
1 parent b1859a5 commit 5b1ccc7
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,10 @@ components:
- "https://github.com/geode-sdk/geode"
latest_version:
$ref: "#/components/schemas/ModVersionString"
developers:
type: array
items:
$ref: "#/components/schemas/ModDeveloper"
tags:
type: array
items:
Expand Down Expand Up @@ -395,6 +399,36 @@ components:
mod_id:
$ref: "#/components/schemas/ModID"

ModDeveloper:
type: object
properties:
id:
type: integer
username:
type: string
description: The username of the developer. At the moment it's the same as the GitHub username of the developer.
examples:
- fleeym
display_name:
type: string
examples:
- Flame
verified:
type: boolean,
description: Whether the developer can post mods without admin verification
examples:
- true
admin:
type: boolean,
description: Whether the developer is an admin (which can verify mods and developers)
examples:
- true
is_owner:
type: boolean,
description: Whether the developer is the owner of the mod
examples:
- true

Platform:
type: string
enum:
Expand Down

0 comments on commit 5b1ccc7

Please sign in to comment.