Fix processing of hexadecimal, octal values 86/90486/3
authorIlya Igushev <illia.ihushev@pantheon.tech>
Thu, 25 Jun 2020 06:46:02 +0000 (06:46 +0000)
committerillia.ihushev <illia.ihushev@pantheon.tech>
Thu, 25 Jun 2020 07:10:30 +0000 (10:10 +0300)
commitc3d15396d264b083c0f8755e289dcdbbc812f22d
tree102659c1cc9aa97da1d9ffce9b192644952de514
parented83c916760530ceb15b6f0bdf3b6b39933ca200
Fix processing of hexadecimal, octal values

JSON doesn't support hexadecimal, octal numbers, unlike YANG.
Therefore when YANG type definition has hexadecimal,or octal
default value of YANG leaf used string JSON format.

Change-Id: I95b1756c0092991a591164b3432f7d93214dfe1d
JIRA: NETCONF-703
Signed-off-by: illia.ihushev <illia.ihushev@pantheon.tech>
restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/impl/DefinitionGenerator.java