Details
Description
Action paths are created in BaseYangOpenApiGenerator by appending rests/operations instead of rests/data. Both sides of this replacing are not configurable. If user (for example lighty.io) uses custom OpenAPI path this can lead to troubles as seen in NETCONF-860.
Hardcoded expected behaviour: rests/data<THE-REST-OF-PATH> -> rests/operations<THE-REST-OF-PATH>
Unexpected hardcoded behaviour: restconf/data<THE-REST-OF-PATH> -> rest/operationsata<THE-REST-OF-PATH>
Attachments
Issue Links
- relates to
-
NETCONF-860 Some BBF yang devices using actions have invalid swagger URLs generated.
-
- Resolved
-
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 105919,6 | Change hardcoded actions path and provide tests | master | netconf | Status: ABANDONED | -1 | +1 |
| 106394,10 | Change hard-coded actions path | master | netconf | Status: MERGED | +2 | +1 |
| 106396,14 | Create test for custom base path verification | master | netconf | Status: MERGED | +2 | +1 |
| 106859,1 | Change hard-coded actions path | 6.0.x | netconf | Status: MERGED | +2 | +1 |
| 106860,1 | Create test for custom base path verification | 6.0.x | netconf | Status: MERGED | +2 | +1 |
| 106885,5 | Change hard-coded actions path | 4.0.x | netconf | Status: MERGED | +2 | +1 |
| 106886,10 | Create test for custom base path verification | 4.0.x | netconf | Status: MERGED | +2 | +1 |
| 106888,6 | Change hard-coded actions path | 5.0.x | netconf | Status: MERGED | +2 | +1 |
| 106889,10 | Create test for custom base path verification | 5.0.x | netconf | Status: MERGED | +2 | +1 |