--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I can see the swagger is not producing JSONStatus or JSONCreatePolicyResponse in the models section below:
{"apiVersion":"0.0.1","swaggerVersion":"1.2","basePath":"http://localhost:8080/WPML-Service/api","resourcePath":"/policy",
"apis":[{"path":"/policy/update","operations":[{"method":"POST","summary":"/update",
"notes":"Updates the policy with the given repository identifier to the new value provided.",
"type":"com.ibm.watson.pml.service.json.JSONStatus","nickname":"updatePolicy","produces":["application/json"],
"consumes":["application/json"],"parameters":[{"name":"body",
"description":"Provides both the new policy and the existing repository identifier","required":false,"type":
"JSONPolicy","paramType":"body","allowMultiple":false}]}]},{"path":"/policy/create",
"operations":[{"method":"POST","summary":"/create","notes":"Creates a new policy. ",
"type":"com.ibm.watson.pml.service.json.JSONStatus","nickname":"createPolicy","produces":["application/json"],
"consumes":["application/json"],"parameters":[{"name":"body","required":false,"type":"JSONPolicy","paramType":"body","allowMultiple":false}]}]},
{"path":"/policy/read","operations":[{"method":"GET","summary":"/read","notes":"Reads 1 or all policies.",
"type":"com.ibm.watson.pml.service.policy.JSONReadPolicyResponse","nickname":"readPolicies",
"produces":["application/json"],"consumes":["*/*"],"parameters":[{"name":"id",
"description":"The identifier of returned in a create call. If not provide, all policies are read.","required":false,"type":"string",
"paramType":"query","allowMultiple":false}]}]},{"path":"/policy/delete",
"operations":[{"method":"POST","summary":"/delete","notes":"Deletes 1 or more policies.",
"type":"com.ibm.watson.pml.service.json.JSONStatus","nickname":"deletePolicies","produces":["application/json"],
"consumes":["application/json"],"parameters":[{"name":"body","required":false,"type":"Map","paramType":"body",
"allowMultiple":false}]}]}],"models":{"JSONPolicy":{"id":"JSONPolicy","description":"Policy specification",
"required":["type","language","policy"],"properties":{"repID":{"type":"string","description":
"ID associated with a stored policy. Currently only used on update requests."},"name":{"type":"string"},"description":{"type":"string"},
"type":{"type":"string","description":"Type of policy. One of Obligation or Authorization."},"language":{"type":"string","description":
"Language of this policy. One of CIM-SPL or Groovy."},"policy":{"type":"string","description":"Policy itself."}}},"Map":
{"id":"Map","properties":{"empty":{"type":"boolean"}}}}}
--
--
Which JAX-RS implementation do you use?
--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
To be clear, common JAX-RS implementations are Jersey, RestEasy, CXF and Wink.Jackson is a JSON parser, it's not a JAX-RS implementation (nor does it bind itself to any specific implementation).You have several dependencies that shouldn't necessarily be together. I'd suggest cleaning up that first and go from there.
On 5 August 2014 17:24, David Wood <davidw...@gmail.com> wrote:
Whatever jackson 2.2.0 (http://wiki.fasterxml.com/JacksonRelease20) provides.
On Tuesday, August 5, 2014 10:05:16 AM UTC-4, Ron R wrote:
Which JAX-RS implementation do you use?
--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsubscri...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.