Amartus / yang2swagger

Yang to swagger generator
Eclipse Public License 1.0
32 stars 21 forks source link

RESTCONF compatibility #44

Closed rgaglian closed 2 years ago

rgaglian commented 4 years ago

By checking the output two points highlight to be RFC8040/RFC7951 compatible:

1) -use-namespaces should be the default: The standard requirements should be the default.

2) final "/" should not be there per RFC8040. I see a "/" trailing all paths in the tool. This is not correct per RFC8040 paths: /data/tapi-common:context/

bartoszm commented 2 years ago

I will adjust the paths according to URI resolution mechanisms: