Thank you! got it, Sway then validates against the spec file available in node_modules/swagger-schema-official/
On Thursday, August 11, 2016 at 12:10:47 PM UTC-7, Ron wrote: > > The document is not validated against a spec. The tool that’s used for > validation in swagger-editor is called Sway. > > > > > > > > *From: *<[email protected] <javascript:>> on behalf of Shima > <[email protected] <javascript:>> > *Reply-To: *"[email protected] <javascript:>" < > [email protected] <javascript:>> > *Date: *Thursday, 11 August 2016 at 09:53 > *To: *Swagger <[email protected] <javascript:>> > *Subject: *spec file and validation code in swagger-editor project > > > > I've downloaded and installed swagger-editor. I would like to customize > the spec that the yaml/json document is validated against. Where can I find > the spec file and the validation code in swagger-editor project? Thanks > > -- > 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 [email protected] <javascript:>. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
