Skip to content

Commit

Permalink
Add error to test-service for JSON validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritham Marupaka committed Oct 30, 2024
1 parent 15c9332 commit caffb0e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions conjure/src/test/resources/test-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ types:
SimpleObject:
fields:
stringField: string
errors:
EndpointError:
namespace: Test
code: INVALID_ARGUMENT
safe-args:
id: integer

services:
TestService:
Expand All @@ -20,3 +26,5 @@ services:
endpoints:
get:
http: GET /get
errors:
- EndpointError

0 comments on commit caffb0e

Please sign in to comment.