raml2code-fixtures
Advanced tools
@@ -9,7 +9,6 @@ package org.gex.v1 | ||
| import org.glassfish.jersey.media.multipart.* | ||
| import static javax.ws.rs.core.MediaType.APPLICATION_JSON | ||
| @Path("/arrayprimitives") | ||
| @Consumes(APPLICATION_JSON) | ||
| @Produces(APPLICATION_JSON) | ||
| @Consumes("application/json") | ||
| @Produces("application/json") | ||
| interface ArrayPrimitivesResource { | ||
@@ -16,0 +15,0 @@ |
@@ -9,7 +9,6 @@ package org.gex.v1 | ||
| import org.glassfish.jersey.media.multipart.* | ||
| import static javax.ws.rs.core.MediaType.APPLICATION_JSON | ||
| @Path("/cats/{catId}/picture") | ||
| @Consumes(APPLICATION_JSON) | ||
| @Produces(APPLICATION_JSON) | ||
| @Consumes("application/json") | ||
| @Produces("application/json") | ||
| interface GatitoByIdPictureResource { | ||
@@ -16,0 +15,0 @@ |
@@ -9,7 +9,6 @@ package org.gex.v1 | ||
| import org.glassfish.jersey.media.multipart.* | ||
| import static javax.ws.rs.core.MediaType.APPLICATION_JSON | ||
| @Path("/cats/{catId}") | ||
| @Consumes(APPLICATION_JSON) | ||
| @Produces(APPLICATION_JSON) | ||
| @Consumes("application/json") | ||
| @Produces("application/json") | ||
| interface GatitoByIdResource { | ||
@@ -16,0 +15,0 @@ |
@@ -9,7 +9,6 @@ package org.gex.v1 | ||
| import org.glassfish.jersey.media.multipart.* | ||
| import static javax.ws.rs.core.MediaType.APPLICATION_JSON | ||
| @Path("/cats/{catId}/webFormCat") | ||
| @Consumes(APPLICATION_JSON) | ||
| @Produces(APPLICATION_JSON) | ||
| @Consumes("application/json") | ||
| @Produces("application/json") | ||
| interface GatitopByIdFormResource { | ||
@@ -16,0 +15,0 @@ |
@@ -9,7 +9,6 @@ package org.gex.v1 | ||
| import org.glassfish.jersey.media.multipart.* | ||
| import static javax.ws.rs.core.MediaType.APPLICATION_JSON | ||
| @Path("/cats") | ||
| @Consumes(APPLICATION_JSON) | ||
| @Produces(APPLICATION_JSON) | ||
| @Consumes("application/json") | ||
| @Produces("application/json") | ||
| interface GatitosResource { | ||
@@ -16,0 +15,0 @@ |
@@ -9,7 +9,6 @@ package org.gex.v1 | ||
| import org.glassfish.jersey.media.multipart.* | ||
| import static javax.ws.rs.core.MediaType.APPLICATION_JSON | ||
| @Path("/settings/{key}") | ||
| @Consumes(APPLICATION_JSON) | ||
| @Produces(APPLICATION_JSON) | ||
| @Consumes("application/json") | ||
| @Produces("application/json") | ||
| interface SettingsResource { | ||
@@ -16,0 +15,0 @@ |
+1
-1
| { | ||
| "name": "raml2code-fixtures", | ||
| "version": "0.0.12", | ||
| "version": "0.0.13", | ||
| "description": "fixtures for raml2code", | ||
@@ -5,0 +5,0 @@ "main": "test-utils.js", |
51621
-0.62%