diff --git a/docusaurus-docs/static/openapi.json b/docusaurus-docs/static/openapi.json index bd2b68de7..593c12841 100644 --- a/docusaurus-docs/static/openapi.json +++ b/docusaurus-docs/static/openapi.json @@ -40,7 +40,7 @@ "APIGetBuild": { "properties": { "data": { - "$ref": "#/components/schemas/Build" + "$ref": "#/components/schemas/Build-Output" }, "message": { "anyOf": [ @@ -67,7 +67,7 @@ "APIGetEnvironment": { "properties": { "data": { - "$ref": "#/components/schemas/Environment" + "$ref": "#/components/schemas/Environment-Output" }, "message": { "anyOf": [ @@ -200,6 +200,7 @@ "APIGetSetting": { "properties": { "data": { + "additionalProperties": true, "title": "Data", "type": "object" }, @@ -277,6 +278,7 @@ "properties": { "data": { "additionalProperties": { + "additionalProperties": true, "type": "object" }, "title": "Data", @@ -312,7 +314,7 @@ }, "data": { "items": { - "$ref": "#/components/schemas/Build" + "$ref": "#/components/schemas/Build-Output" }, "title": "Data", "type": "array" @@ -451,7 +453,7 @@ "data": { "default": [], "items": { - "$ref": "#/components/schemas/Environment" + "$ref": "#/components/schemas/Environment-Output" }, "title": "Data", "type": "array" @@ -742,7 +744,7 @@ "data": { "default": [], "items": { - "$ref": "#/components/schemas/Environment" + "$ref": "#/components/schemas/Environment-Output" }, "title": "Data", "type": "array" @@ -890,6 +892,7 @@ "Body_api_update_namespace_api_v1_namespace__namespace___put": { "properties": { "metadata": { + "additionalProperties": true, "title": "Metadata", "type": "object" }, @@ -907,7 +910,113 @@ "title": "Body_api_update_namespace_api_v1_namespace__namespace___put", "type": "object" }, - "Build": { + "Build-Input": { + "properties": { + "build_artifacts": { + "anyOf": [ + { + "items": { + "$ref": "#/components/schemas/BuildArtifact" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Build Artifacts" + }, + "ended_on": { + "anyOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Ended On" + }, + "environment_id": { + "title": "Environment Id", + "type": "integer" + }, + "id": { + "title": "Id", + "type": "integer" + }, + "packages": { + "anyOf": [ + { + "items": { + "$ref": "#/components/schemas/CondaPackage" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Packages" + }, + "scheduled_on": { + "format": "date-time", + "title": "Scheduled On", + "type": "string" + }, + "size": { + "title": "Size", + "type": "integer" + }, + "specification": { + "anyOf": [ + { + "$ref": "#/components/schemas/Specification" + }, + { + "type": "null" + } + ] + }, + "started_on": { + "anyOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Started On" + }, + "status": { + "$ref": "#/components/schemas/BuildStatus" + }, + "status_info": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Status Info" + } + }, + "required": [ + "id", + "environment_id", + "status", + "size", + "scheduled_on" + ], + "title": "Build", + "type": "object" + }, + "Build-Output": { "properties": { "build_artifacts": { "anyOf": [ @@ -1140,12 +1249,60 @@ "title": "CondaPackage", "type": "object" }, - "Environment": { + "Environment-Input": { + "properties": { + "current_build": { + "anyOf": [ + { + "$ref": "#/components/schemas/Build-Input" + }, + { + "type": "null" + } + ] + }, + "current_build_id": { + "title": "Current Build Id", + "type": "integer" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "id": { + "title": "Id", + "type": "integer" + }, + "name": { + "title": "Name", + "type": "string" + }, + "namespace": { + "$ref": "#/components/schemas/Namespace" + } + }, + "required": [ + "id", + "namespace", + "name", + "current_build_id" + ], + "title": "Environment", + "type": "object" + }, + "Environment-Output": { "properties": { "current_build": { "anyOf": [ { - "$ref": "#/components/schemas/Build" + "$ref": "#/components/schemas/Build-Output" }, { "type": "null" @@ -1210,6 +1367,7 @@ "metadata_": { "anyOf": [ { + "additionalProperties": true, "type": "object" }, { @@ -1290,6 +1448,7 @@ "type": "string" }, "spec": { + "additionalProperties": true, "title": "Spec", "type": "object" } @@ -3560,6 +3719,7 @@ "content": { "application/json": { "schema": { + "additionalProperties": true, "title": "Metadata", "type": "object" } @@ -4123,6 +4283,7 @@ "content": { "application/json": { "schema": { + "additionalProperties": true, "title": "Data", "type": "object" } @@ -4234,6 +4395,7 @@ "content": { "application/json": { "schema": { + "additionalProperties": true, "title": "Data", "type": "object" } @@ -4345,6 +4507,7 @@ "content": { "application/json": { "schema": { + "additionalProperties": true, "title": "Data", "type": "object" }