mirror of
https://github.com/modrinth/code.git
synced 2026-09-02 13:05:50 +00:00
fix(docs): create version endpoint missing file_types field
This commit is contained in:
@@ -414,7 +414,7 @@ components:
|
|||||||
- unknown
|
- unknown
|
||||||
- signature
|
- signature
|
||||||
example: required-resource-pack
|
example: required-resource-pack
|
||||||
# https://github.com/modrinth/labrinth/blob/master/src/routes/version_creation.rs#L27-L57
|
# https://github.com/modrinth/code/blob/main/apps/labrinth/src/routes/v2/version_creation.rs#L32-L76
|
||||||
CreatableVersion:
|
CreatableVersion:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: '#/components/schemas/BaseVersion'
|
- $ref: '#/components/schemas/BaseVersion'
|
||||||
@@ -446,6 +446,11 @@ components:
|
|||||||
- client_or_server_prefers_both
|
- client_or_server_prefers_both
|
||||||
- unknown
|
- unknown
|
||||||
description: The environment that this version is for.
|
description: The environment that this version is for.
|
||||||
|
file_types:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
$ref: '#/components/schemas/FileTypeEnum'
|
||||||
|
description: A map of file parts to their associated file type, a file type is used for additional files such as sources jars.
|
||||||
required:
|
required:
|
||||||
- file_parts
|
- file_parts
|
||||||
- project_id
|
- project_id
|
||||||
|
|||||||
Reference in New Issue
Block a user