mirror of
https://github.com/modrinth/code.git
synced 2026-07-31 21:26:40 +00:00
fix(docs): missing environment field from v2 createVersion route (#6476)
* fix(docs): missing environment field from v2 createVersion route * fix(docs): missing environment field from v2 createVersion route
This commit is contained in:
@@ -432,6 +432,20 @@ components:
|
|||||||
primary_file:
|
primary_file:
|
||||||
type: string
|
type: string
|
||||||
description: The multipart field name of the primary file
|
description: The multipart field name of the primary file
|
||||||
|
environment:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- client_and_server
|
||||||
|
- client_only
|
||||||
|
- client_only_server_optional
|
||||||
|
- singleplayer_only
|
||||||
|
- server_only
|
||||||
|
- server_only_client_optional
|
||||||
|
- dedicated_server_only
|
||||||
|
- client_or_server
|
||||||
|
- client_or_server_prefers_both
|
||||||
|
- unknown
|
||||||
|
description: The environment that this version is for.
|
||||||
required:
|
required:
|
||||||
- file_parts
|
- file_parts
|
||||||
- project_id
|
- project_id
|
||||||
|
|||||||
Reference in New Issue
Block a user