Get JSON (and XML) schema as string from swagger-parser

21 views
Skip to first unread message

Francesco Guardiani

unread,
May 19, 2017, 2:32:56 PM5/19/17
to Swagger
Hi,
How can i get the JSON (and XML) schema as string with swagger-parser? I need it for validate JSON (and XML) bodies with Jackson.

Thank you :)

Ron Ratovsky

unread,
May 19, 2017, 2:35:02 PM5/19/17
to swagger-sw...@googlegroups.com

Not sure what you mean…

--
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.

Francesco Guardiani

unread,
May 20, 2017, 4:23:36 AM5/20/17
to Swagger
From swagger-parser there is a way to get the json schema of a body parameter to validate an http request body? I need the 'schema' field of body parameter to validate incoming http requests bodies
Reply all
Reply to author
Forward
0 new messages