Simplify element count processing, remove Optional 39/106239/10
authorŠimon Ukuš <simon.ukus@pantheon.tech>
Thu, 8 Jun 2023 11:38:05 +0000 (13:38 +0200)
committerIvan Hrasko <ivan.hrasko@pantheon.tech>
Wed, 12 Jul 2023 11:50:53 +0000 (13:50 +0200)
commit0c73f4e2da934917312669403944d1342d47ada8
tree579f5ee42a47c6a7815674f170fda02c26d4eab8
parent7db5fe46143c3ce44c40dd3b197d6544c45f3673
Simplify element count processing, remove Optional

Modified how ElementCountConstraint is handled during leaf-list node
processing by taking advantage of the method that depends
on the presence of the Optional value.

JIRA: NETCONF-998
Change-Id: Icde783e392beb3972397d7b4400780a1a89c8154
Signed-off-by: Šimon Ukuš <simon.ukus@pantheon.tech>
restconf/restconf-openapi/src/main/java/org/opendaylight/restconf/openapi/impl/DefinitionGenerator.java