Fix the demo specUrl

This commit is contained in:
stackedsax 2019-01-09 13:28:23 -08:00
parent ab943a8dd5
commit 251f8741e5

View File

@ -162,7 +162,7 @@ Also you can pass options:
```js
<RedocStandalone
specUrl="http://rebilly.github.io/RebillyAPI/swagger.json"
specUrl="http://rebilly.github.io/RebillyAPI/openapi.json"
options={{
nativeScrollbars: true,
theme: { colors: { main: '#dd5522' } },
@ -176,7 +176,7 @@ You can also specify `onLoaded` callback which will be called each time Redoc ha
```js
<RedocStandalone
specUrl="http://rebilly.github.io/RebillyAPI/swagger.json"
specUrl="http://rebilly.github.io/RebillyAPI/openapi.json"
onLoaded={error => {
if (!error) {
console.log('Yay!');