Hellows!
I think I have a bug in Swagger UI
I run v3.15 from git, but the problem persists for a long time now.(not
sure if it ever worked)
The problem is in Chrome and Firefox.
When I TryOut->Execute APIs with no parameter, it does not do anything.
Browser dev-tools show zero network activity. Instead I get three errors on
the console.
I have looked at the list of issues in git, but have not found anything
that seems to match that signature.Neither here.
The rest of the APIs work okay.
I have attached the definition and the logs as file here.
Thanks for the sweet tool and cheers from Bavaria!
chris :)
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
Spec of that API:
/serinto/v1/:
get:
summary: Get basic information about the service
description: Tells you which environment the service is talking to. A bit
of documentation.
parameters:
tags:
- serinto
security:
- basicAuth: []
responses:
200:
description: OK
schema:
type: object
properties:
env:
type: object
description: |
One entry for each configured service and which config it
uses.
serviceNames could be 'a', 'b', 'c', ...
properties:
serviceName1..:
type: string
example: dev
enum:
- local
- dev
- test
- stage
- prod
description: Tells you which environment 'serviceName' is
configured to use.
serviceName..N:
type: string
example: dev
enum:
- local
- dev
- test
- stage
- prod
description: Tells you which environment 'serviceName..N'
is configured to use.
href:
type: string
description: |
Which actions you can take from here to start your data
journey.
More for humans to start their browsing of the API.
Not really intended for machines.
example: https://server/service/application/object
settings-check:
type: string
description: Some config-errors get caught and reported here.
example: OK!
403:
description: Not authenticated
--
FFX prints:
TypeError: r.get(...) is null
Stack trace:
t.operationWithMeta@https://example.com/swaggergit/swagger-ui-bundle.js:24:42272
t.default<@https://example.com/swaggergit/swagger-ui-bundle.js:70:85180
k/<@https://example.com/swaggergit/swagger-ui-bundle.js:82:143792
value/t</t[n]<@https://example.com/swaggergit/swagger-ui-bundle.js:82:139389
t.default/</</<@https://example.com/swaggergit/swagger-ui-bundle.js:97:99564
t.default/</<@https://example.com/swaggergit/swagger-ui-bundle.js:97:99535
r/Be.prototype.withMutations@https://example.com/swaggergit/swagger-ui-bundle.js:1:17164
t.default/<@https://example.com/swaggergit/swagger-ui-bundle.js:97:99507
g@https://example.com/swaggergit/swagger-ui-bundle.js:70:193514
t.systemThunkMiddleware/</</<@https://example.com/swaggergit/swagger-ui-bundle.js:1:60969
r/<@https://example.com/swaggergit/swagger-ui-bundle.js:97:102017
t.validateParams/<@https://example.com/swaggergit/swagger-ui-bundle.js:70:88182
r@https://example.com/swaggergit/swagger-ui-bundle.js:82:140241
k/<@https://example.com/swaggergit/swagger-ui-bundle.js:82:143792
t/o.onClick@https://example.com/swaggergit/swagger-ui-bundle.js:82:44510
i@https://example.com/swaggergit/swagger-ui-bundle.js:56:14815
s@https://example.com/swaggergit/swagger-ui-bundle.js:56:10765
executeDispatchesInOrder@https://example.com/swaggergit/swagger-ui-bundle.js:56:11496
p@https://example.com/swaggergit/swagger-ui-bundle.js:13:43614
h@https://example.com/swaggergit/swagger-ui-bundle.js:13:43742
e.exports@https://example.com/swaggergit/swagger-ui-bundle.js:70:168783
processEventQueue@https://example.com/swaggergit/swagger-ui-bundle.js:13:45134
handleTopLevel/<@https://example.com/swaggergit/swagger-ui-bundle.js:96:67126
handleTopLevel@https://example.com/swaggergit/swagger-ui-bundle.js:96:67095
h@https://example.com/swaggergit/swagger-ui-bundle.js:96:67667
perform@https://example.com/swaggergit/swagger-ui-bundle.js:24:11845
batchedUpdates@https://example.com/swaggergit/swagger-ui-bundle.js:96:65871
batchedUpdates@https://example.com/swaggergit/swagger-ui-bundle.js:6:14918
dispatchEvent@https://example.com/swaggergit/swagger-ui-bundle.js:96:68448
system.js:461:8
TypeError: r.get(...) is null
Stack trace:
t.operationWithMeta@https://example.com/swaggergit/swagger-ui-bundle.js:24:42272
t.parameterValues@https://example.com/swaggergit/swagger-ui-bundle.js:24:36610
k/<@https://example.com/swaggergit/swagger-ui-bundle.js:82:143792
value/</</<@https://example.com/swaggergit/swagger-ui-bundle.js:82:141902
t.execute/<@https://example.com/swaggergit/swagger-ui-bundle.js:24:35400
t.systemThunkMiddleware/</</<@https://example.com/swaggergit/swagger-ui-bundle.js:1:60962
r/<@https://example.com/swaggergit/swagger-ui-bundle.js:97:102017
t.execute/<@https://example.com/swaggergit/swagger-ui-bundle.js:70:39722
r@https://example.com/swaggergit/swagger-ui-bundle.js:82:140241
k/<@https://example.com/swaggergit/swagger-ui-bundle.js:82:143792
t/o.onClick@https://example.com/swaggergit/swagger-ui-bundle.js:82:44606
i@https://example.com/swaggergit/swagger-ui-bundle.js:56:14815
s@https://example.com/swaggergit/swagger-ui-bundle.js:56:10765
executeDispatchesInOrder@https://example.com/swaggergit/swagger-ui-bundle.js:56:11496
p@https://example.com/swaggergit/swagger-ui-bundle.js:13:43614
h@https://example.com/swaggergit/swagger-ui-bundle.js:13:43742
e.exports@https://example.com/swaggergit/swagger-ui-bundle.js:70:168783
processEventQueue@https://example.com/swaggergit/swagger-ui-bundle.js:13:45134
handleTopLevel/<@https://example.com/swaggergit/swagger-ui-bundle.js:96:67126
handleTopLevel@https://example.com/swaggergit/swagger-ui-bundle.js:96:67095
h@https://example.com/swaggergit/swagger-ui-bundle.js:96:67667
perform@https://example.com/swaggergit/swagger-ui-bundle.js:24:11845
batchedUpdates@https://example.com/swaggergit/swagger-ui-bundle.js:96:65871
batchedUpdates@https://example.com/swaggergit/swagger-ui-bundle.js:6:14918
dispatchEvent@https://example.com/swaggergit/swagger-ui-bundle.js:96:68448
system.js:461:8
TypeError: a.parameterValues(...) is null
Stack trace:
t.execute/<@https://example.com/swaggergit/swagger-ui-bundle.js:24:35400
t.systemThunkMiddleware/</</<@https://example.com/swaggergit/swagger-ui-bundle.js:1:60962
r/<@https://example.com/swaggergit/swagger-ui-bundle.js:97:102017
t.execute/<@https://example.com/swaggergit/swagger-ui-bundle.js:70:39722
r@https://example.com/swaggergit/swagger-ui-bundle.js:82:140241
k/<@https://example.com/swaggergit/swagger-ui-bundle.js:82:143792
t/o.onClick@https://example.com/swaggergit/swagger-ui-bundle.js:82:44606
i@https://example.com/swaggergit/swagger-ui-bundle.js:56:14815
s@https://example.com/swaggergit/swagger-ui-bundle.js:56:10765
executeDispatchesInOrder@https://example.com/swaggergit/swagger-ui-bundle.js:56:11496
p@https://example.com/swaggergit/swagger-ui-bundle.js:13:43614
h@https://example.com/swaggergit/swagger-ui-bundle.js:13:43742
e.exports@https://example.com/swaggergit/swagger-ui-bundle.js:70:168783
processEventQueue@https://example.com/swaggergit/swagger-ui-bundle.js:13:45134
handleTopLevel/<@https://example.com/swaggergit/swagger-ui-bundle.js:96:67126
handleTopLevel@https://example.com/swaggergit/swagger-ui-bundle.js:96:67095
h@https://example.com/swaggergit/swagger-ui-bundle.js:96:67667
perform@https://example.com/swaggergit/swagger-ui-bundle.js:24:11845
batchedUpdates@https://example.com/swaggergit/swagger-ui-bundle.js:96:65871
batchedUpdates@https://example.com/swaggergit/swagger-ui-bundle.js:6:14918
dispatchEvent@https://example.com/swaggergit/swagger-ui-bundle.js:96:68448
--
chrome prints:
system.js:461 TypeError: Cannot read property 'map' of null
at t.operationWithMeta (selectors.js:301)
at reducers.js:68
at system.js:458
at t.(/swaggergit/anonymous function)
(https://example.com/swaggergit/swagger-ui-bundle.js:82:139393)
at combineReducers.js:35
at Array.forEach (<anonymous>)
at combineReducers.js:34
at Be.withMutations (immutable.js:1353)
at combineReducers.js:33
at g (createStore.js:165)
(anonymous) @ system.js:461
t.(anonymous function) @ system.js:440
(anonymous) @ combineReducers.js:35
(anonymous) @ combineReducers.js:34
Be.withMutations @ immutable.js:1353
(anonymous) @ combineReducers.js:33
g @ createStore.js:165
(anonymous) @ utils.js:124
(anonymous) @ bindActionCreators.js:3
(anonymous) @ wrap-actions.js:34
r @ system.js:173
(anonymous) @ system.js:458
o.onClick @ execute.jsx:18
i @ ReactErrorUtils.js:24
s @ EventPluginUtils.js:83
executeDispatchesInOrder @ EventPluginUtils.js:106
p @ EventPluginHub.js:41
h @ EventPluginHub.js:52
e.exports @ forEachAccumulated.js:22
processEventQueue @ EventPluginHub.js:250
(anonymous) @ ReactEventEmitterMixin.js:15
handleTopLevel @ ReactEventEmitterMixin.js:25
h @ ReactEventListener.js:70
perform @ Transaction.js:141
batchedUpdates @ ReactDefaultBatchingStrategy.js:60
batchedUpdates @ ReactUpdates.js:95
dispatchEvent @ ReactEventListener.js:145
system.js:461 TypeError: Cannot read property 'map' of null
at t.operationWithMeta (selectors.js:301)
at t.parameterValues (selectors.js:348)
at system.js:458
at Object.parameterValues (system.js:258)
at actions.js:395
at utils.js:121
at bindActionCreators.js:3
at spec-wrap-actions.js:9
at Object.r (system.js:173)
at Object.execute (system.js:458)
(anonymous) @ system.js:461
(anonymous) @ system.js:258
(anonymous) @ actions.js:395
(anonymous) @ utils.js:121
(anonymous) @ bindActionCreators.js:3
(anonymous) @ spec-wrap-actions.js:9
r @ system.js:173
(anonymous) @ system.js:458
o.onClick @ execute.jsx:24
i @ ReactErrorUtils.js:24
s @ EventPluginUtils.js:83
executeDispatchesInOrder @ EventPluginUtils.js:106
p @ EventPluginHub.js:41
h @ EventPluginHub.js:52
e.exports @ forEachAccumulated.js:22
processEventQueue @ EventPluginHub.js:250
(anonymous) @ ReactEventEmitterMixin.js:15
handleTopLevel @ ReactEventEmitterMixin.js:25
h @ ReactEventListener.js:70
perform @ Transaction.js:141
batchedUpdates @ ReactDefaultBatchingStrategy.js:60
batchedUpdates @ ReactUpdates.js:95
dispatchEvent @ ReactEventListener.js:145
system.js:461 TypeError: Cannot read property 'toJS' of null
at actions.js:395
at utils.js:121
at bindActionCreators.js:3
at spec-wrap-actions.js:9
at Object.r (system.js:173)
at Object.execute (system.js:458)
at o.onClick (execute.jsx:24)
at Object.i (ReactErrorUtils.js:24)
at s (EventPluginUtils.js:83)
at Object.executeDispatchesInOrder (EventPluginUtils.js:106)