diff --git a/apidef/oas/schema/x-tyk-api-gateway.json b/apidef/oas/schema/x-tyk-api-gateway.json index 2efd81bc2ec..77dca6c608d 100644 --- a/apidef/oas/schema/x-tyk-api-gateway.json +++ b/apidef/oas/schema/x-tyk-api-gateway.json @@ -96,7 +96,7 @@ "type": "boolean" }, "name": { - "$ref": "#/definitions/X-Tyk-NonEmptyString" + "type": "string" } }, "required": [ @@ -2023,7 +2023,7 @@ "type": "boolean" }, "header": { - "$ref": "#/definitions/X-Tyk-AuthSource" + "$ref": "#/definitions/X-Tyk-UpstreamAuthSource" }, "username": { "$ref": "#/definitions/X-Tyk-NonEmptyString" @@ -2077,7 +2077,7 @@ ] }, "header": { - "$ref": "#/definitions/X-Tyk-AuthSource" + "$ref": "#/definitions/X-Tyk-UpstreamAuthSource" }, "extraMetadata": { "type": [ @@ -2117,7 +2117,7 @@ "$ref": "#/definitions/X-Tyk-NonEmptyString" }, "header": { - "$ref": "#/definitions/X-Tyk-AuthSource" + "$ref": "#/definitions/X-Tyk-UpstreamAuthSource" }, "extraMetadata": { "type": [ @@ -2143,6 +2143,17 @@ "X-Tyk-NonEmptyString": { "type": "string", "pattern": "\\S+" + }, + "X-Tyk-UpstreamAuthSource": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + } + } } } } \ No newline at end of file