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

已查看 21 次
跳至第一个未读帖子

Francesco Guardiani

未读,
2017年5月19日 14:32:562017/5/19
收件人 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

未读,
2017年5月19日 14:35:022017/5/19
收件人 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

未读,
2017年5月20日 04:23:362017/5/20
收件人 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
回复全部
回复作者
转发
0 个新帖子