lupin84ta
(Giuseppe Preite)
October 14, 2019, 11:46pm
1
Log
Failed installing ‘openhab-misc-restdocs’
restdocs is now under ui, not misc. That is mentioned in the warnings when you upgraded.
Welcome back to the OpenHAB community Giuseppe!!!
As Bruce said, the Rest documentation has moved in 2.5
Hope it works for you, depends on what other stuff you’re using, if you have troubles see here
opened 12:48PM - 09 Aug 19 UTC
closed 10:46AM - 17 Oct 19 UTC
I have just successfully updated (according to update.log) from 2.5.0-M1 to 2.5.… 0-M2.
However, the REST API DOC GUI does not work anymore. It gives 500 - bad request:
```
500 : <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Error 500 Request failed.</title> </head> <body><h2>HTTP ERROR 500</h2> <p>Problem accessing /rest/swagger.json. Reason: <pre> Request failed.</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.18.v20190429</a><hr/> </body> </html> http://192.168.10.2:8080/rest/swagger.json
```
I have found issue #67 and issue #86.
I have already tried reinstalling RESTdocs. Jinja transformation is also not installed.
Any idea what's wrong?
and a workaround here
Hello folks,
here are my results:
Here are the bindings,UIs,transformations,miscs that do NOT BREAK restdocs:
binding = allplay,amazondashbutton,astro,avmfritz,feed,harmonyhub,http1,hue,knx,max,ntp,openweathermap,pioneeravr,sonos,tplinksmarthome,weather1,zigbee,zwave
ui = basic,classic,habmin,habpanel,homebuilder,paper,restdocs
persistence = rrd4j
transformation = javascript,map,regex
voice = googletts,marytts
misc = ruleengine,market,openhabcloud
.
.
BREAKING the restdocs:
binding= bosch…