Skip to content

Commit

Permalink
fix #1149
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuancelin committed May 2, 2022
1 parent abedc3c commit 7eb020b
Show file tree
Hide file tree
Showing 16 changed files with 392 additions and 440 deletions.
68 changes: 33 additions & 35 deletions kubernetes/helm/otoroshi/crds-with-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -993,20 +993,20 @@ spec:
type: "object"
properties:
excludedPatterns:
description: "???"
description: "Excluded paths"
type: "array"
items:
type: "string"
refs:
description: "???"
description: "Enabled plugins"
type: "array"
items:
type: "string"
config:
description: "???"
description: "pre-routing plugins configuration"
type: "object"
enabled:
description: "???"
description: "pre-routing plugins enabled"
type: "boolean"
canary:
description: "Canary settings"
Expand Down Expand Up @@ -1822,20 +1822,20 @@ spec:
type: "object"
properties:
excludedPatterns:
description: "???"
description: "Excluded paths"
type: "array"
items:
type: "string"
refs:
description: "???"
description: "Enabled plugins"
type: "array"
items:
type: "string"
config:
description: "???"
description: "Access validator plugins configuration"
type: "object"
enabled:
description: "???"
description: "Access validator plugins enabled"
type: "boolean"
---
apiVersion: "apiextensions.k8s.io/v1"
Expand Down Expand Up @@ -4902,8 +4902,7 @@ spec:
schema:
openAPIV3Schema:
type: "object"
description: "A routing primitive representing how a request is matched and\
\ where the request is forwarded"
description: "???"
properties:
apiVersion:
description: "APIVersion defines the versioned schema of this representation\
Expand All @@ -4919,27 +4918,26 @@ spec:
type: "object"
spec:
type: "object"
description: "A routing primitive representing how a request is matched\
\ and where the request is forwarded"
description: "???"
properties:
metadata:
type: "object"
additionalProperties:
type: "string"
description: "The metadata of the route"
description: "???"
backend_ref:
description: "The backend id of the route (if one)"
description: "???"
type: "string"
groups:
type: "array"
items:
type: "string"
description: "The groups of the route"
description: "???"
description:
description: "The description of the route"
description: "???"
type: "string"
_loc:
description: "The location of the route"
description: "???"
type: "object"
properties:
teams:
Expand All @@ -4951,25 +4949,24 @@ spec:
description: "Organization of the current entity"
type: "string"
enabled:
description: "Is the route enabled"
description: "???"
type: "boolean"
export_reporting:
description: "Export the execution reporting through standard data\
\ exporter"
description: "???"
type: "boolean"
tags:
type: "array"
items:
type: "string"
description: "The tags of the route"
description: "???"
debug_flow:
description: "Enable report debugging"
description: "???"
type: "boolean"
name:
description: "The name of the route"
description: "???"
type: "string"
backend:
description: "The backend of the route"
description: "???"
type: "object"
properties:
target_refs:
Expand Down Expand Up @@ -5207,10 +5204,10 @@ spec:
type: "number"
format: "double"
id:
description: "The ud of the route"
description: "???"
type: "string"
frontend:
description: "The frontend of the route"
description: "???"
type: "object"
properties:
headers:
Expand Down Expand Up @@ -5749,7 +5746,7 @@ spec:
schema:
openAPIV3Schema:
type: "object"
description: "???"
description: "An otoroshi plugins stored as scala code in the otoroshi datastore"
properties:
apiVersion:
description: "APIVersion defines the versioned schema of this representation\
Expand All @@ -5765,27 +5762,28 @@ spec:
type: "object"
spec:
type: "object"
description: "???"
description: "An otoroshi plugins stored as scala code in the otoroshi\
\ datastore"
properties:
metadata:
type: "object"
additionalProperties:
type: "string"
description: "???"
description: "Entity metadata"
code:
description: "???"
description: "The code of the script"
type: "string"
name:
description: "???"
description: "The name of the script"
type: "string"
id:
description: "???"
description: "The id of the script"
type: "string"
type:
description: "Plugin kind"
type: "string"
_loc:
description: "???"
description: "Entity location"
type: "object"
properties:
teams:
Expand All @@ -5800,7 +5798,7 @@ spec:
type: "array"
items:
type: "string"
description: "???"
description: "Entity tags"
desc:
description: "???"
description: "The description of the script"
type: "string"
62 changes: 31 additions & 31 deletions manual/src/main/paradox/code/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -17164,7 +17164,7 @@
"properties" : { }
},
"otoroshi.next.models.NgRouteDataStore" : {
"description" : "???",
"description" : "The datastore for routes",
"type" : "object",
"properties" : { }
},
Expand Down Expand Up @@ -19498,7 +19498,7 @@
"properties" : { }
},
"otoroshi.next.plugins.GraphQLQueryConfig" : {
"description" : "???",
"description" : "Configuration for the GraphQLQuery plugin",
"type" : "object",
"properties" : {
"response_path" : {
Expand All @@ -19507,10 +19507,10 @@
}, {
"type" : "string"
} ],
"description" : "???"
"description" : "The optional json path to select in response"
},
"url" : {
"description" : "???",
"description" : "URL of the graphql endpoint",
"type" : "string"
},
"response_filter" : {
Expand All @@ -19519,26 +19519,26 @@
}, {
"type" : "string"
} ],
"description" : "???"
"description" : "JQ filter applied on the response"
},
"headers" : {
"type" : "object",
"additionalProperties" : {
"type" : "string"
},
"description" : "???"
"description" : "Headers to pass to the graphql call"
},
"timeout" : {
"format" : "int64",
"description" : "???",
"description" : "Timeout for the call (in ms)",
"type" : "integer"
},
"query" : {
"description" : "???",
"description" : "Graphql query to pass to the graphql call",
"type" : "string"
},
"method" : {
"description" : "???",
"description" : "Method for the graphql call",
"type" : "string"
}
}
Expand Down Expand Up @@ -21278,72 +21278,72 @@
"properties" : { }
},
"otoroshi.next.models.NgRoute" : {
"description" : "???",
"description" : "A routing primitive representing how a request is matched and where the request is forwarded",
"type" : "object",
"properties" : {
"debug_flow" : {
"description" : "???",
"description" : "Enable report debugging",
"type" : "boolean"
},
"enabled" : {
"description" : "???",
"description" : "Is the route enabled",
"type" : "boolean"
},
"name" : {
"description" : "???",
"description" : "The name of the route",
"type" : "string"
},
"id" : {
"description" : "???",
"description" : "The ud of the route",
"type" : "string"
},
"export_reporting" : {
"description" : "???",
"description" : "Export the execution reporting through standard data exporter",
"type" : "boolean"
},
"metadata" : {
"type" : "object",
"additionalProperties" : {
"type" : "string"
},
"description" : "???"
"description" : "The metadata of the route"
},
"frontend" : {
"description" : "???",
"description" : "The frontend of the route",
"$ref" : "#/components/schemas/otoroshi.next.models.NgFrontend"
},
"_loc" : {
"description" : "???",
"description" : "The location of the route",
"$ref" : "#/components/schemas/otoroshi.models.EntityLocation"
},
"tags" : {
"type" : "array",
"items" : {
"type" : "string"
},
"description" : "???"
"description" : "The tags of the route"
},
"groups" : {
"type" : "array",
"items" : {
"type" : "string"
},
"description" : "???"
"description" : "The groups of the route"
},
"backend_ref" : {
"oneOf" : [ {
"$ref" : "#/components/schemas/Null"
}, {
"type" : "string"
} ],
"description" : "???"
"description" : "The backend id of the route (if one)"
},
"description" : {
"description" : "???",
"description" : "The description of the route",
"type" : "string"
},
"backend" : {
"description" : "???",
"description" : "The backend of the route",
"$ref" : "#/components/schemas/otoroshi.next.models.NgBackend"
}
}
Expand Down Expand Up @@ -23834,7 +23834,7 @@
"properties" : { }
},
"otoroshi.next.plugins.GraphQLQuery" : {
"description" : "???",
"description" : "Plugin to read data from GraphQL endpoints",
"type" : "object",
"properties" : {
"response_path" : {
Expand All @@ -23843,10 +23843,10 @@
}, {
"type" : "string"
} ],
"description" : "???"
"description" : "The optional json path to select in response"
},
"url" : {
"description" : "???",
"description" : "URL of the graphql endpoint",
"type" : "string"
},
"response_filter" : {
Expand All @@ -23855,26 +23855,26 @@
}, {
"type" : "string"
} ],
"description" : "???"
"description" : "JQ filter applied on the response"
},
"headers" : {
"type" : "object",
"additionalProperties" : {
"type" : "string"
},
"description" : "???"
"description" : "Headers to pass to the graphql call"
},
"timeout" : {
"format" : "int64",
"description" : "???",
"description" : "Timeout for the call (in ms)",
"type" : "integer"
},
"query" : {
"description" : "???",
"description" : "Graphql query to pass to the graphql call",
"type" : "string"
},
"method" : {
"description" : "???",
"description" : "Method for the graphql call",
"type" : "string"
}
}
Expand Down
Loading

0 comments on commit 7eb020b

Please sign in to comment.