OpenAPI: Implement pagination test 36/111436/17
authorlubos-cicut <lubos.cicut@pantheon.tech>
Wed, 17 Apr 2024 07:27:59 +0000 (09:27 +0200)
committerIvan Hrasko <ivan.hrasko@pantheon.tech>
Mon, 8 Jul 2024 10:42:53 +0000 (10:42 +0000)
commit786dbdea3c199d818f85fb68bf878fc596be53cd
treeabf9933024e9772b1e382160c9cd9e3236732ca1
parentaaa7d3ed4c4ff89bc179a598442aedc768661fff
OpenAPI: Implement pagination test

This patch tests the implementation of pagination, which allows us
to retrieve a OpenApi document for selected number of modules from
schema. In this case ?offset=3&limit=5.

JIRA: NETCONF-1225
Change-Id: I3ecf8b810649a58c05b8a2c8433135c8c3694db5
Signed-off-by: lubos-cicut <lubos.cicut@pantheon.tech>
restconf/restconf-openapi/src/test/java/org/opendaylight/restconf/openapi/impl/AbstractDocumentTest.java
restconf/restconf-openapi/src/test/java/org/opendaylight/restconf/openapi/impl/OperationalDocumentTest.java
restconf/restconf-openapi/src/test/java/org/opendaylight/restconf/openapi/impl/ToasterDocumentTest.java
restconf/restconf-openapi/src/test/java/org/opendaylight/restconf/openapi/impl/YangDocumentTest.java
restconf/restconf-openapi/src/test/resources/yang-document/controller-offset3&limit5.json [new file with mode: 0644]
restconf/restconf-openapi/src/test/resources/yang-document/device-offset3&limit5.json [new file with mode: 0644]