X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-docgen%2Fsrc%2Ftest%2Fresources%2Ftopology-new.json;fp=opendaylight%2Fmd-sal%2Fsal-rest-docgen%2Fsrc%2Ftest%2Fresources%2Ftopology-new.json;h=c34fd8f5a85e0398c56bfe4e23ac74b067d1e706;hb=2e8e671a52614978de6940919fc677625dc25def;hp=0000000000000000000000000000000000000000;hpb=61bad4207cc91cd14d8d38a255ad6549c20ff54e;p=controller.git diff --git a/opendaylight/md-sal/sal-rest-docgen/src/test/resources/topology-new.json b/opendaylight/md-sal/sal-rest-docgen/src/test/resources/topology-new.json new file mode 100644 index 0000000000..c34fd8f5a8 --- /dev/null +++ b/opendaylight/md-sal/sal-rest-docgen/src/test/resources/topology-new.json @@ -0,0 +1,35 @@ +{ + "apiVersion": "1.0.0", + "swaggerVersion": "1.2", + "basePath": "/restconf", + "resourcePath": "/config", + "produces": [ "application/json", "application/xml" ], + "apis": [ + { + "path": "/network-topology:network-topology/network-topology", + "operations": [ + { + "method": "GET", + "summary": "Test", + "notes": null, + "type": "support", + "nickname": "test", + "consumes": null, + "responseMessages": null + } + ] + } + ], + "models": { + "supporting-link": { + "id":"supporting-link", + "$schema": "http://json-schema.org/draft-04/schema", + "properties": { + "link-ref": { + "required": false + } + }, + "type": "object" + } + } +} \ No newline at end of file