diff --git a/docs/docs.go b/docs/docs.go index 47679b7d..cdf4f6e9 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -261,6 +261,9 @@ const docTemplate = `{ "retry.ExpRetryConfig": { "type": "object", "properties": { + "base_multiplier": { + "type": "integer" + }, "max_delay": { "type": "integer" }, @@ -291,7 +294,7 @@ const docTemplate = `{ } }, "retry": { - "description": "TODO: how to specify other backoff strategies?", + "description": "retry when no healthy model is available to router", "allOf": [ { "$ref": "#/definitions/retry.ExpRetryConfig" diff --git a/docs/swagger.json b/docs/swagger.json index 822bb8e5..770fc6ef 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -258,6 +258,9 @@ "retry.ExpRetryConfig": { "type": "object", "properties": { + "base_multiplier": { + "type": "integer" + }, "max_delay": { "type": "integer" }, @@ -288,7 +291,7 @@ } }, "retry": { - "description": "TODO: how to specify other backoff strategies?", + "description": "retry when no healthy model is available to router", "allOf": [ { "$ref": "#/definitions/retry.ExpRetryConfig" diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 0d6e5720..748588d8 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -90,6 +90,8 @@ definitions: type: object retry.ExpRetryConfig: properties: + base_multiplier: + type: integer max_delay: type: integer max_retries: @@ -110,7 +112,7 @@ definitions: retry: allOf: - $ref: '#/definitions/retry.ExpRetryConfig' - description: 'TODO: how to specify other backoff strategies?' + description: retry when no healthy model is available to router routers: description: Unique router ID type: string