jic-dtool / dservercore

Given a dataset UUID returns a URI to where the dataset is stored
MIT License
4 stars 5 forks source link

ReDoc issues #58

Open jotelha opened 7 months ago

jotelha commented 7 months ago

With the instance running at demo.dtool.dev, accessing the raw JSON OpenAPI specs at https://demo.dtool.dev/lookup/doc/openapi.json or https://demo.dtool.dev/lookup/doc/swagger works fine.

Accessing https://demo.dtool.dev/lookup/doc/redoc errors with

Something went wrong...
invalid HTTP code

Stack trace

Ga@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:39:1573
get responses/<@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:39:83616
get responses@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:39:83570
get@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:39:9705
eb</<@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:1630:992
qs@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:8:498002
El@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:8:482463
Ol@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:8:482391
_l@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:8:482252
ml@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:8:479239
4448/Ko/<@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:8:429060
53/t.unstable_runWithPriority@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:8:517125
Wo@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:8:428837
Ko@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:8:429007
Yo@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:8:428940
ul@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:8:476624
$a@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:8:448436
n@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:117:1048
o@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:117:1116

ReDoc Version: 2.0.0-rc.75
Commit: d7440fb

Pasting the URL https://demo.dtool.dev/lookup/doc/openapi.json at https://redocly.github.io/redoc yields

Something went wrong...
Failed to load https://cors.redoc.ly/https://demo.dtool.dev/lookup/doc/openapi.json: 404 Not Found

Stack trace

u@https://redocly.github.io/redoc/redoc-demo.bundle.js:2:29453
4182/loadExternalRef/<@https://redocly.github.io/redoc/redoc-demo.bundle.js:2:30752
s@https://redocly.github.io/redoc/redoc-demo.bundle.js:2:28574

ReDoc Version: 2.1.3
Commit: b2d8e0f5

and uploading the file at https://redocly.github.io/redoc manually yields

Something went wrong...
invalid HTTP code

Stack trace

Ya@https://redocly.github.io/redoc/redoc-demo.bundle.js:33:52167
get responses/<@https://redocly.github.io/redoc/redoc-demo.bundle.js:33:134593
get responses@https://redocly.github.io/redoc/redoc-demo.bundle.js:33:134547
get@https://redocly.github.io/redoc/redoc-demo.bundle.js:33:60314
mb</<@https://redocly.github.io/redoc/redoc-demo.bundle.js:1660:992
Vs@https://redocly.github.io/redoc/redoc-demo.bundle.js:2:429944
_l@https://redocly.github.io/redoc/redoc-demo.bundle.js:2:414321
Sl@https://redocly.github.io/redoc/redoc-demo.bundle.js:2:414249
Ol@https://redocly.github.io/redoc/redoc-demo.bundle.js:2:414110
gl@https://redocly.github.io/redoc/redoc-demo.bundle.js:2:411185
4448/Qo/<@https://redocly.github.io/redoc/redoc-demo.bundle.js:2:360957
53/t.unstable_runWithPriority@https://redocly.github.io/redoc/redoc-demo.bundle.js:2:448721
Vo@https://redocly.github.io/redoc/redoc-demo.bundle.js:2:360734
Qo@https://redocly.github.io/redoc/redoc-demo.bundle.js:2:360904
Yo@https://redocly.github.io/redoc/redoc-demo.bundle.js:2:360837
pl@https://redocly.github.io/redoc/redoc-demo.bundle.js:2:408570
Pa@https://redocly.github.io/redoc/redoc-demo.bundle.js:2:380333
r@https://redocly.github.io/redoc/redoc-demo.bundle.js:111:852
o@https://redocly.github.io/redoc/redoc-demo.bundle.js:111:928

ReDoc Version: 2.1.3
Commit: b2d8e0f5