Integrating custom swagger 2.0 specification into swagger js

13 views
Skip to first unread message

Simone Cordella

unread,
Jun 5, 2017, 5:51:25 AM6/5/17
to Swagger
Hi,

I have downloaded the swagger 2.0 specification from https://github.com/OAI/OpenAPI-Specification and I have modified the file schemas/v2.0/schema.json , now I want to use this modified version of the specification, in order to validate the api definition when I use the swagger-js library, can you tell me please which file of swagger js I have to modify to do that?

Thank you.

Ron Ratovsky

unread,
Jun 5, 2017, 5:56:14 PM6/5/17
to swagger-sw...@googlegroups.com

Swagger-js doesn’t perform validation.

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

Simone Cordella

unread,
Jun 6, 2017, 3:46:32 AM6/6/17
to Swagger
Is possible to specify a different validator?

To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsub...@googlegroups.com.

Ron Ratovsky

unread,
Jun 6, 2017, 11:48:22 AM6/6/17
to swagger-sw...@googlegroups.com

There is no validation whatsoever, so you can’t specify a ‘different’ one.

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.

--

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.

Reply all
Reply to author
Forward
0 new messages