commit | d3472bf9fab7677421a528b18a91c4312452fbeb | [log] [tgz] |
---|---|---|
author | Jian Li <pyguni@gmail.com> | Mon Feb 12 15:22:04 2018 +0900 |
committer | Jian Li <pyguni@gmail.com> | Wed Feb 14 07:48:53 2018 +0000 |
tree | 0bae42161148f514e863574f4298b5e07af79354 | |
parent | 2077f66655a8e4acf8ee4e0b8fc23fca88431596 [diff] [blame] |
[ONOS-7470] Add swagger API doc of openstack networking module #2 Change-Id: I494fc58d39822e17ef152fb0fcc3445bc4bfeb2e
diff --git a/apps/openstacknetworking/src/main/java/org/onosproject/openstacknetworking/web/OpenstackSubnetWebResource.java b/apps/openstacknetworking/src/main/java/org/onosproject/openstacknetworking/web/OpenstackSubnetWebResource.java index a3e2368..fb6192c 100644 --- a/apps/openstacknetworking/src/main/java/org/onosproject/openstacknetworking/web/OpenstackSubnetWebResource.java +++ b/apps/openstacknetworking/src/main/java/org/onosproject/openstacknetworking/web/OpenstackSubnetWebResource.java
@@ -66,6 +66,7 @@ * @param input subnet JSON input stream * @return 201 CREATED if the JSON is correct, 400 BAD_REQUEST if the JSON * is invalid or duplicated subnet already exists + * @onos.rsModel NeutronSubnet */ @POST @Consumes(MediaType.APPLICATION_JSON) @@ -90,6 +91,7 @@ * @param input subnet JSON input stream * @return 200 OK with the updated subnet, 400 BAD_REQUEST if the requested * subnet does not exist + * @onos.rsModel NeutronSubnet */ @PUT @Path("{id}")