restconf icon indicating copy to clipboard operation
restconf copied to clipboard

Feature request: Support XMLparsing

Open pdumais opened this issue 3 years ago • 1 comments

In the case where content-type is set to yang-data+xml in a request, we would need restconf to be able to parse the XML data into the yang model. This is irrelevant from the Accept header.

I don't think we need to force the response to XML. The response can still be sent with yang-data+json, as long as the Accept header contains it. I will address this in a different issue.

pdumais avatar Apr 13 '23 18:04 pdumais

We're working on an implementation at this moment. Will probably create a PR in the coming weeks

pdumais avatar Apr 26 '23 01:04 pdumais