mirror of
https://github.com/clearml/clearml-server
synced 2025-03-03 18:54:20 +00:00
Fix schema for swagger compatibility
This commit is contained in:
parent
942f996237
commit
f4bf16c156
@ -414,7 +414,7 @@ task {
|
|||||||
container {
|
container {
|
||||||
description: "Docker container parameters"
|
description: "Docker container parameters"
|
||||||
type: object
|
type: object
|
||||||
additionalProperties { type: [string, null] }
|
additionalProperties { type: string }
|
||||||
}
|
}
|
||||||
models {
|
models {
|
||||||
description: "Task models"
|
description: "Task models"
|
||||||
|
@ -11,8 +11,8 @@ _definitions {
|
|||||||
type: number
|
type: number
|
||||||
}
|
}
|
||||||
type {
|
type {
|
||||||
description: "training_stats_vector"
|
description: "'training_stats_scalar'"
|
||||||
const: "training_stats_scalar"
|
type: string
|
||||||
}
|
}
|
||||||
task {
|
task {
|
||||||
description: "Task ID (required)"
|
description: "Task ID (required)"
|
||||||
@ -46,8 +46,8 @@ _definitions {
|
|||||||
type: number
|
type: number
|
||||||
}
|
}
|
||||||
type {
|
type {
|
||||||
description: "training_stats_vector"
|
description: "'training_stats_vector'"
|
||||||
const: "training_stats_vector"
|
type: string
|
||||||
}
|
}
|
||||||
task {
|
task {
|
||||||
description: "Task ID (required)"
|
description: "Task ID (required)"
|
||||||
@ -82,8 +82,8 @@ _definitions {
|
|||||||
type: number
|
type: number
|
||||||
}
|
}
|
||||||
type {
|
type {
|
||||||
description: ""
|
description: "'training_debug_image'"
|
||||||
const: "training_debug_image"
|
type: string
|
||||||
}
|
}
|
||||||
task {
|
task {
|
||||||
description: "Task ID (required)"
|
description: "Task ID (required)"
|
||||||
@ -123,7 +123,7 @@ _definitions {
|
|||||||
}
|
}
|
||||||
type {
|
type {
|
||||||
description: "'plot'"
|
description: "'plot'"
|
||||||
const: "plot"
|
type: string
|
||||||
}
|
}
|
||||||
task {
|
task {
|
||||||
description: "Task ID (required)"
|
description: "Task ID (required)"
|
||||||
@ -221,7 +221,7 @@ _definitions {
|
|||||||
}
|
}
|
||||||
type {
|
type {
|
||||||
description: "'log'"
|
description: "'log'"
|
||||||
const: "log"
|
type: string
|
||||||
}
|
}
|
||||||
task {
|
task {
|
||||||
description: "Task ID (required)"
|
description: "Task ID (required)"
|
||||||
|
@ -59,7 +59,7 @@ supported_modes {
|
|||||||
description: "SSO authentication providers"
|
description: "SSO authentication providers"
|
||||||
type: object
|
type: object
|
||||||
additionalProperties {
|
additionalProperties {
|
||||||
desctiprion: "Provider redirect URL"
|
description: "Provider redirect URL"
|
||||||
type: string
|
type: string
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -365,9 +365,6 @@ get_all {
|
|||||||
"$ref": "#/definitions/multi_field_pattern_data"
|
"$ref": "#/definitions/multi_field_pattern_data"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
|
||||||
page: [ page_size ]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
response {
|
response {
|
||||||
type: object
|
type: object
|
||||||
|
@ -203,7 +203,7 @@ get_entities_count {
|
|||||||
default: false
|
default: false
|
||||||
}
|
}
|
||||||
active_users {
|
active_users {
|
||||||
descritpion: "The list of users that were active in the project. If passes then the resulting projects are filtered to the ones that have tasks created by these users"
|
description: "The list of users that were active in the project. If passes then the resulting projects are filtered to the ones that have tasks created by these users"
|
||||||
type: array
|
type: array
|
||||||
items: {type: string}
|
items: {type: string}
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,7 @@ start_pipeline {
|
|||||||
type: object
|
type: object
|
||||||
properties {
|
properties {
|
||||||
name: { type: string }
|
name: { type: string }
|
||||||
value: { type: [string, null] }
|
value: { type: string }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -570,7 +570,7 @@ get_all_ex {
|
|||||||
request {
|
request {
|
||||||
properties {
|
properties {
|
||||||
active_users {
|
active_users {
|
||||||
descritpion: "The list of users that were active in the project. If passes then the resulting projects are filtered to the ones that have tasks created by these users"
|
description: "The list of users that were active in the project. If passes then the resulting projects are filtered to the ones that have tasks created by these users"
|
||||||
type: array
|
type: array
|
||||||
items: {type: string}
|
items: {type: string}
|
||||||
}
|
}
|
||||||
@ -1286,13 +1286,15 @@ get_task_parents {
|
|||||||
}
|
}
|
||||||
project {
|
project {
|
||||||
type: object
|
type: object
|
||||||
id {
|
properties {
|
||||||
description: "The ID of the parent task project"
|
id {
|
||||||
type: string
|
description: "The ID of the parent task project"
|
||||||
}
|
type: string
|
||||||
name {
|
}
|
||||||
description: "The name of the parent task project"
|
name {
|
||||||
type: string
|
description: "The name of the parent task project"
|
||||||
|
type: string
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -578,7 +578,7 @@ get_task_data {
|
|||||||
single_value_metrics {
|
single_value_metrics {
|
||||||
type: object
|
type: object
|
||||||
description: If passed then task single value metrics are returned
|
description: If passed then task single value metrics are returned
|
||||||
additonalProperties: false
|
additionalProperties: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
response.properties.single_value_metrics {
|
response.properties.single_value_metrics {
|
||||||
@ -694,9 +694,6 @@ get_all_ex {
|
|||||||
"$ref": "#/definitions/multi_field_pattern_data"
|
"$ref": "#/definitions/multi_field_pattern_data"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
|
||||||
page: [ page_size ]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
response {
|
response {
|
||||||
type: object
|
type: object
|
||||||
|
@ -297,9 +297,6 @@ get_all {
|
|||||||
"$ref": "#/definitions/multi_field_pattern_data"
|
"$ref": "#/definitions/multi_field_pattern_data"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
|
||||||
page: [ page_size ]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
response {
|
response {
|
||||||
type: object
|
type: object
|
||||||
@ -489,7 +486,7 @@ clone {
|
|||||||
new_task_container {
|
new_task_container {
|
||||||
description: "The docker container properties for the new task. If not provided then taken from the original task"
|
description: "The docker container properties for the new task. If not provided then taken from the original task"
|
||||||
type: object
|
type: object
|
||||||
additionalProperties { type: [string, null] }
|
additionalProperties { type: string }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -667,7 +664,7 @@ create {
|
|||||||
container {
|
container {
|
||||||
description: "Docker container parameters"
|
description: "Docker container parameters"
|
||||||
type: object
|
type: object
|
||||||
additionalProperties { type: [string, null] }
|
additionalProperties { type: string }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -756,7 +753,7 @@ validate {
|
|||||||
container {
|
container {
|
||||||
description: "Docker container parameters"
|
description: "Docker container parameters"
|
||||||
type: object
|
type: object
|
||||||
additionalProperties { type: [string, null] }
|
additionalProperties { type: string }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -918,7 +915,7 @@ edit {
|
|||||||
container {
|
container {
|
||||||
description: "Docker container parameters"
|
description: "Docker container parameters"
|
||||||
type: object
|
type: object
|
||||||
additionalProperties { type: [string, null] }
|
additionalProperties { type: string }
|
||||||
}
|
}
|
||||||
runtime {
|
runtime {
|
||||||
description: "Task runtime mapping"
|
description: "Task runtime mapping"
|
||||||
|
Loading…
Reference in New Issue
Block a user