diff --git a/flavors/swagger-ui-react/index.jsx b/flavors/swagger-ui-react/index.jsx index ce3be7a9feb..05a1aab86df 100644 --- a/flavors/swagger-ui-react/index.jsx +++ b/flavors/swagger-ui-react/index.jsx @@ -124,7 +124,7 @@ SwaggerUI.propTypes = { } SwaggerUI.defaultProps = { - spec: {}, + spec: "", url: "", layout: "BaseLayout", requestInterceptor: req => req,