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 Jan 7, 2025
1 parent 672fcb4 commit 7bf1642
Showing 1 changed file with 205 additions and 69 deletions.
274 changes: 205 additions & 69 deletions generate/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"definitions": {
"Cluster": {
"properties": {
"clusterConfig": {
"$ref": "#/definitions/config.ClusterConfig"
},
"createdAt": {
"description": "The time when this cluster was registered with Signadot.",
"type": "string"
Expand Down Expand Up @@ -422,6 +425,9 @@
},
"TestExecutionResults": {
"properties": {
"checks": {
"$ref": "#/definitions/testexecutions.Checks"
},
"trafficDiff": {
"$ref": "#/definitions/TrafficDiff"
}
Expand Down Expand Up @@ -470,6 +476,9 @@
"targetJob": {
"type": "string"
},
"testDeletedAt": {
"type": "string"
},
"triggeredBy": {
"$ref": "#/definitions/TestExecutionTriggeredBy"
}
Expand Down Expand Up @@ -534,6 +543,9 @@
"additions": {
"type": "integer"
},
"baselineSession": {
"type": "string"
},
"capturePoints": {
"items": {
"$ref": "#/definitions/trafficmodels.By"
Expand All @@ -558,6 +570,15 @@
"replacements": {
"type": "integer"
},
"targetSession": {
"type": "string"
},
"unpairedCaptures": {
"items": {
"$ref": "#/definitions/testexecutions.UnpairedCapture"
},
"type": "array"
},
"yellow": {
"$ref": "#/definitions/TrafficDiffSummary"
}
Expand All @@ -566,6 +587,9 @@
},
"TrafficDiffPairedDiff": {
"properties": {
"baselineCaptureID": {
"type": "string"
},
"id": {
"type": "string"
},
Expand All @@ -577,6 +601,9 @@
},
"source": {
"$ref": "#/definitions/Source"
},
"targetCaptureID": {
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -662,7 +689,10 @@
"type": "string"
},
"query": {
"$ref": "#/definitions/capture.Values"
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"uri": {
"type": "string"
Expand Down Expand Up @@ -723,6 +753,90 @@
},
"type": "object"
},
"config.ClusterConfig": {
"properties": {
"allowedNamespaces": {
"items": {
"type": "string"
},
"type": "array"
},
"routing": {
"$ref": "#/definitions/config.RoutingConfig"
},
"sandboxTrafficManager": {
"$ref": "#/definitions/config.SandboxTrafficManagerConfig"
},
"trafficCapture": {
"$ref": "#/definitions/config.TrafficCaptureConfig"
}
},
"type": "object"
},
"config.IstioConfig": {
"properties": {
"enableHostRouting": {
"type": "boolean"
},
"enabled": {
"type": "boolean"
}
},
"type": "object"
},
"config.LinkerdConfig": {
"properties": {
"enabled": {
"type": "boolean"
}
},
"type": "object"
},
"config.RoutingConfig": {
"properties": {
"customHeaders": {
"items": {
"type": "string"
},
"type": "array"
},
"istio": {
"$ref": "#/definitions/config.IstioConfig"
},
"linkerd": {
"$ref": "#/definitions/config.LinkerdConfig"
}
},
"type": "object"
},
"config.SandboxTrafficManagerConfig": {
"properties": {
"enabled": {
"type": "boolean"
}
},
"type": "object"
},
"config.TrafficCaptureConfig": {
"properties": {
"enabled": {
"type": "boolean"
},
"requestHeadersElide": {
"items": {
"type": "string"
},
"type": "array"
},
"responseHeadersElide": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"defaults.CompositeDefaults": {
"properties": {
"cluster": {
Expand Down Expand Up @@ -820,8 +934,12 @@
},
"job.TrafficManager": {
"properties": {
"enabled": {
"description": "Explicitly enable traffic manager in runner pods for this job.",
"type": "boolean"
},
"injectRoutingKey": {
"description": "InjectRoutingKey indicates if the system should perform automatic\ninjection of routing key headers or not. It may be the empty string,\n\"auto\" or \"disabled\". The empty string defaults to meaning \"disabled\".",
"description": "InjectRoutingKey indicates if the system should perform automatic\ninjection of routing key headers or not. It may be the empty string,\n\"auto\" or \"disabled\". The empty string defaults to meaning \"disabled\".\nThe \"auto\" value will overwrite the value of the Enabled field, setting\nit to true.",
"enum": [
"disabled",
"auto"
Expand Down Expand Up @@ -1061,59 +1179,6 @@
},
"type": "object"
},
"local": {
"properties": {
"from": {
"$ref": "#/definitions/local.From"
},
"mappings": {
"items": {
"$ref": "#/definitions/local.PortMapping"
},
"type": "array"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"local.From": {
"properties": {
"kind": {
"description": "Kind of entity that we want to route to. One of (Service or Deployment or Rollout).",
"example": "Deployment",
"type": "string"
},
"name": {
"description": "Name of the entity within the Kubernetes cluster.",
"example": "my-frontend",
"type": "string"
},
"namespace": {
"description": "Namespace within which the entity lives in the Kubernetes cluster.",
"example": "default",
"type": "string"
}
},
"required": [
"kind",
"name",
"namespace"
],
"type": "object"
},
"local.PortMapping": {
"properties": {
"port": {
"type": "integer"
},
"toLocal": {
"type": "string"
}
},
"type": "object"
},
"resourceplugin.Runner": {
"properties": {
"image": {
Expand Down Expand Up @@ -1726,17 +1791,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 Expand Up @@ -1767,6 +1821,65 @@
},
"type": "object"
},
"syntax.Position": {
"properties": {
"col": {
"description": "1-based column (rune) number; 0 if column unknown",
"type": "integer"
},
"line": {
"description": "1-based line number; 0 if line unknown",
"type": "integer"
}
},
"type": "object"
},
"testexecutions.Check": {
"properties": {
"errors": {
"items": {
"$ref": "#/definitions/testexecutions.CheckError"
},
"type": "array"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"testexecutions.CheckError": {
"properties": {
"attrs": {
"additionalProperties": {},
"type": "object"
},
"message": {
"type": "string"
},
"sourcePosition": {
"$ref": "#/definitions/syntax.Position"
}
},
"type": "object"
},
"testexecutions.Checks": {
"properties": {
"baseline": {
"items": {
"$ref": "#/definitions/testexecutions.Check"
},
"type": "array"
},
"sandbox": {
"items": {
"$ref": "#/definitions/testexecutions.Check"
},
"type": "array"
}
},
"type": "object"
},
"testexecutions.QueryResult": {
"properties": {
"cursor": {
Expand All @@ -1778,6 +1891,17 @@
},
"type": "object"
},
"testexecutions.UnpairedCapture": {
"properties": {
"baselineCaptureID": {
"type": "string"
},
"targetCaptureID": {
"type": "string"
}
},
"type": "object"
},
"trafficmodels.By": {
"properties": {
"direction": {
Expand Down Expand Up @@ -4224,6 +4348,18 @@
"type": "string",
"x-example": "my-company"
},
{
"description": "Only include auto diff executions",
"in": "query",
"name": "isAutoDiff",
"type": "string"
},
{
"description": "Do not include executions from deleted tests",
"in": "query",
"name": "skipDeletedTests",
"type": "string"
},
{
"description": "Target sandbox name",
"in": "query",
Expand Down Expand Up @@ -4285,9 +4421,9 @@
"type": "string"
},
{
"description": "Group results by entity (so far, only triggers is supported)",
"description": "Group results by entity (so far, only tests is supported)",
"enum": [
"trigger"
"tests"
],
"in": "query",
"name": "groupBy",
Expand Down Expand Up @@ -5006,4 +5142,4 @@
}
},
"swagger": "2.0"
}
}

0 comments on commit 7bf1642

Please sign in to comment.