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 5, 2024
1 parent 1e090df commit 4ab9c02
Showing 1 changed file with 14 additions and 46 deletions.
60 changes: 14 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 @@ -177,56 +180,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 +504,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 @@ -838,17 +817,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 4ab9c02

Please sign in to comment.