OH3 - location of swagger.json file for documentation API


where can I find the swagger.json for Openhab3? For version 2 it was placed there: /rest/swagger.json


Also need it.

Here is where it is in the UI.


The URL says http://[ip-address]:8080/#!/developer/api-explorer

To be complete the spec JSON is now at http://[ip-address]:8080/rest/spec.
It’s also compliant to OpenAPI Specification (OAS) 3.0.2 so quite different from the swagger.json in openHAB 2 (which was OAS 2).

1 Like