diff --git a/apps/engine/docs/openapi.yaml b/apps/engine/docs/openapi.yaml index 3bc77f92..35e62d25 100644 --- a/apps/engine/docs/openapi.yaml +++ b/apps/engine/docs/openapi.yaml @@ -1905,6 +1905,7 @@ paths: - arcade - openai - anthropic + - mcp type: string - description: User ID name: user_id @@ -2134,6 +2135,7 @@ paths: - arcade - openai - anthropic + - mcp type: string - description: User ID name: user_id @@ -3975,7 +3977,7 @@ components: description: type: string value_schema: - $ref: "#/components/schemas/schemas.ValueSchema" + $ref: "#/components/schemas/tool.ValueSchema" schemas.PKCEConfigCreateRequest: type: object properties: @@ -4018,7 +4020,7 @@ components: required: type: boolean value_schema: - $ref: "#/components/schemas/schemas.ValueSchema" + $ref: "#/components/schemas/tool.ValueSchema" schemas.PatchDiscoveryRequest: type: object properties: @@ -4970,19 +4972,6 @@ components: type: string next_uri: type: string - schemas.ValueSchema: - type: object - required: - - val_type - properties: - enum: - type: array - items: - type: string - inner_val_type: - type: string - val_type: - type: string schemas.WebhookAuthRequest: type: object properties: @@ -5316,3 +5305,38 @@ components: extras: type: object additionalProperties: {} + tool.ValueSchema: + type: object + required: + - val_type + properties: + description: + type: string + enum: + type: array + items: + type: string + inner_properties: + type: object + additionalProperties: + $ref: "#/components/schemas/tool.ValueSchema" + inner_required_keys: + type: array + items: + type: string + inner_val_type: + type: string + items: + $ref: "#/components/schemas/tool.ValueSchema" + nullable: + type: boolean + properties: + type: object + additionalProperties: + $ref: "#/components/schemas/tool.ValueSchema" + required_keys: + type: array + items: + type: string + val_type: + type: string