Details
-
Task
-
Status: Resolved
-
Medium
-
Resolution: Done
-
None
Description
Recently, we have moved openapi implementation from sal-rest-docgen to openapi and we completely get rid of apidoc naming.
Reflect this change also in URLs, so for example:
- http://localhost:8181/apidoc/explorer/index.html becomes http://localhost:8181/openapi/explorer/index.html
- http://localhost:8181/apidoc/openapi3/apis/single becomes http://localhost:8181/openapi/api/v3/single
- http://localhost:8181/apidoc/explorer/index.html?urls.primaryName=17830-sim-device%20resources%20-%20RestConf%20RFC%208040 becomes http://localhost:8181/openapi/explorer/index.html?urls.primaryName=17830-sim-device%20resources%20-%20RestConf%20RFC%208040
- http://localhost:8181/apidoc/openapi3/apis/mounts/1 becomes http://localhost:8181/openapi/api/v3/mounts/1
In order to achieve this goal we have to modify org.opendaylight.restconf.openapi.jaxrs.WebInitializer.
Attachments
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 106149,3 | OpenAPI: Change openapi URLs | master | netconf | Status: MERGED | +2 | +1 |
| 106218,1 | Secure all apidoc paths | master | netconf | Status: MERGED | +2 | +1 |
| 106614,1 | Use new URI for OpenAPI API document | master | integration/test | Status: MERGED | +2 | +1 |
| 106616,1 | Fix: use odl-restconf-openapi | master | releng/builder | Status: MERGED | +2 | +1 |