From 5c46a0ec72a082157de776cad407972e96c0ac76 Mon Sep 17 00:00:00 2001 From: Dom Harrington Date: Thu, 30 Aug 2018 15:35:56 -0700 Subject: [PATCH] Add dedicated swagger file to test endpoint error boundary --- example/src/Demo.jsx | 2 ++ .../endpoint-error-boundary.json | 31 +++++++++++++++++++ example/swagger-files/types.json | 17 ---------- 3 files changed, 33 insertions(+), 17 deletions(-) create mode 100644 example/swagger-files/endpoint-error-boundary.json diff --git a/example/src/Demo.jsx b/example/src/Demo.jsx index 46ede1e70..ea1953505 100644 --- a/example/src/Demo.jsx +++ b/example/src/Demo.jsx @@ -61,6 +61,8 @@ class Demo extends React.Component { { this.state.status.length === 0 && (