Do not use SchemaPath for error-info writeout 99/103199/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 10 Nov 2022 16:57:52 +0000 (17:57 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 10 Nov 2022 16:57:52 +0000 (17:57 +0100)
commitd03083aea087dc62cf3af09911fd3c4f6c264383
tree716c0b7052d0031ffa16966736e1c404db47808f
parent630d60274042b11edd9a7388d47554d9a860f968
Do not use SchemaPath for error-info writeout

We can use simple SchemaInferenceStack to acquire the state for being in
a grouping, thus eliminating this particular vestige.

Change-Id: I6e2642b56b17d013afa81500aac8e633e4f6d253
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/errors/JsonStreamWriterWithDisabledValidation.java
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/errors/RestconfDocumentedExceptionMapper.java
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/errors/StreamWriterWithDisabledValidation.java
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/errors/XmlStreamWriterWithDisabledValidation.java