[NETCONF-1032] OpenAPI: Change openapi URLs Created: 18/May/23  Updated: 29/May/23  Resolved: 29/May/23

Status: Resolved
Project: netconf
Component/s: restconf-openapi
Affects Version/s: None
Fix Version/s: 6.0.0

Type: Task Priority: Medium
Reporter: Ivan Hrasko Assignee: Yaroslav Lastivka
Resolution: Done Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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:

  1. http://localhost:8181/apidoc/explorer/index.html becomes http://localhost:8181/openapi/explorer/index.html
  2. http://localhost:8181/apidoc/openapi3/apis/single becomes http://localhost:8181/openapi/api/v3/single
  3. 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
  4. 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.


Generated at Wed Feb 07 20:16:30 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.