From caffb0e2bb16fcbf4a06d7892a758bd3278aa799 Mon Sep 17 00:00:00 2001 From: Pritham Marupaka Date: Wed, 30 Oct 2024 14:54:22 -0400 Subject: [PATCH] Add error to test-service for JSON validation --- conjure/src/test/resources/test-service.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/conjure/src/test/resources/test-service.yml b/conjure/src/test/resources/test-service.yml index 624c4eb5d..fc5e5c7ae 100644 --- a/conjure/src/test/resources/test-service.yml +++ b/conjure/src/test/resources/test-service.yml @@ -11,6 +11,12 @@ types: SimpleObject: fields: stringField: string + errors: + EndpointError: + namespace: Test + code: INVALID_ARGUMENT + safe-args: + id: integer services: TestService: @@ -20,3 +26,5 @@ services: endpoints: get: http: GET /get + errors: + - EndpointError