JSONObject
Is there a way to get the json object without passing it though swaggers object mapper?
For (pet store) example if i wanted to at POST time add another (or many) custom key:value pair to the end of the json how could i accomplish this
example....
i just posted another ticket since this one is closed...
POJO
class my{ public string myKey; public string myValu; }
apiparam(my thisismyparam)
generates
{ "my key" : "my value", "my key" : "my value" } then i add key values { "my key" : "my value", "my key" : "my value", "key" : "value", "key" : "value" } i want to be able to accept the added key values and parse them myself
I think there's some kind of a confusion here. First off, based on what you commented in #208, it looks like you're talking about a java application even though this is the repository for swagger ui. Secondly, in your server-side, Swagger is completely unrelated with request processing. The only time it works (assuming java) is when the application is loaded and the resources and models are scanned. That's it.
i know but can swagger take JSONobejcts
when i use JSONobject as a param it does not accept the input
Again, is this related to Swagger-core? If so, the issue should be opened there.
On Fri, Jun 13, 2014 at 7:57 PM, tpietsch [email protected] wrote:
i know but can swagger take JSONobejcts
when i use JSONobject as a param it does not accept the input
— Reply to this email directly or view it on GitHub https://github.com/wordnik/swagger-ui/issues/474#issuecomment-46034829.
ok