Skip to content

Commit

Permalink
push swagger from signadot
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Apr 15, 2024
1 parent 1e090df commit 6904da2
Showing 1 changed file with 21 additions and 46 deletions.
67 changes: 21 additions & 46 deletions generate/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@
"createdAt": {
"type": "string"
},
"defaults": {
"$ref": "#/definitions/defaults.CompositeDefaults"
},
"endpoints": {
"items": {
"$ref": "#/definitions/routeGroup.Endpoint"
Expand Down Expand Up @@ -143,6 +146,9 @@
"createdAt": {
"type": "string"
},
"defaults": {
"$ref": "#/definitions/defaults.CompositeDefaults"
},
"endpoints": {
"items": {
"$ref": "#/definitions/sandbox.Endpoint"
Expand Down Expand Up @@ -177,56 +183,32 @@
},
"type": "object"
},
"local": {
"defaults.CompositeDefaults": {
"properties": {
"from": {
"$ref": "#/definitions/local.From"
},
"mappings": {
"cluster": {
"items": {
"$ref": "#/definitions/local.PortMapping"
"$ref": "#/definitions/defaults.Default"
},
"type": "array"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"local.From": {
"defaults.Default": {
"properties": {
"kind": {
"description": "Kind of entity that we want to route to. One of (Service or Deployment or Rollout).",
"example": "Deployment",
"class": {
"type": "string"
},
"name": {
"description": "Name of the entity within the Kubernetes cluster.",
"example": "my-frontend",
"createdAt": {
"type": "string"
},
"namespace": {
"description": "Namespace within which the entity lives in the Kubernetes cluster.",
"example": "default",
"resourceKind": {
"type": "string"
}
},
"required": [
"kind",
"name",
"namespace"
],
"type": "object"
},
"local.PortMapping": {
"properties": {
"port": {
"type": "integer"
},
"toLocal": {
"updatedAt": {
"type": "string"
}
},
"value": {}
},
"type": "object"
},
Expand Down Expand Up @@ -525,7 +507,7 @@
"sandbox.Customizations": {
"properties": {
"env": {
"description": "Env var modifications that will be applied to the forked workload",
"description": "Environment variable modifications that will be applied to the forked workload",
"items": {
"$ref": "#/definitions/sandbox.EnvVar"
},
Expand Down Expand Up @@ -782,6 +764,10 @@
"reason": {
"description": "Reason is a machine readable explanation of why\nthe sandbox is healthy or not.",
"type": "string"
},
"scheduledDeleteTime": {
"description": "ScheduledDeleteTime returns the formatted and computed ttl based on the Duration\nand OffsetFrom",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -838,17 +824,6 @@
"description": "Labels are used to specify metadata associated with the sandbox as key-value pairs.",
"type": "object"
},
"local": {
"description": "Local Workloads",
"items": {
"$ref": "#/definitions/local"
},
"type": "array"
},
"localMachineID": {
"description": "Identifier of the machine from where a sandbox containing local workloads\nwas created or is intended to be ran",
"type": "string"
},
"resources": {
"description": "Resources specifies each required resource to spin up the sandbox",
"items": {
Expand Down

0 comments on commit 6904da2

Please sign in to comment.