Hi Vishanth,
Thanks for the response. I did a research on fge/json-schema-validator and
seems like it is not maintaining.
Anyhow I will apply it and check whether it is functioning as expected.
Thanks,

On Fri, Mar 20, 2015 at 2:46 PM, Vishanth Balasubramaniam <
vishan...@wso2.com> wrote:

> Hi Madusanka,
>
> I too think the right approach is to validate at the backend.
>
> I came across this json schema validator project [1] sometime back, check
> if this is useful for you in some way.
>
> [1] - https://github.com/fge/json-schema-validator
>
> Regards,
> Vishanth
>
> On Fri, Mar 20, 2015 at 12:36 PM, Madusanka Premaratne <
> madusan...@wso2.com> wrote:
>
>> Hi all,
>> As you all know APIM uses YAML and Swagger. We have already done YAML
>> validation part and will be there as real time yaml syntax validator in the
>> upcoming release.
>>
>> ​In the validation of swagger we can either validate swagger at the
>> front-end using javascript or validate at the backend using json schema
>> validator.
>> According to the offline discussions I had with Colin and Jo, it is more
>> suitable to validate it at the backend, because there are two
>> ways(write/import) to feed a swagger doc.
>>
>> Does anyone worked with a json schema validator which can be used to
>> fulfil our need?
>>
>> Feedbacks and suggestions for this improvement would be appreciated.
>>
>> ​Thanks,​
>>
>> --
>> *Madusanka Premaratne* | Associate Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 835 70 73| Work: +94 112 145 345
>> Email: madusan...@wso2.com | Web: www.wso2.com
>>
>> [image: Facebook] <https://www.facebook.com/maduzanka> [image: Twitter]
>> <https://twitter.com/rmmpremaratne> [image: Google Plus]
>> <https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub> [image:
>> Linkedin] <http://lk.linkedin.com/in/madusanka/> [image: Instagram]
>> <http://instagram.com/madusankapremaratne> [image: Skype]
>> <http://@rmmpremaratne>
>>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Vishanth Balasubramaniam*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94771737718*
> about me: *http://about.me/vishanth <http://about.me/vishanth>*
>
>


-- 
*Madusanka Premaratne* | Associate Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 835 70 73| Work: +94 112 145 345
Email: madusan...@wso2.com | Web: www.wso2.com

[image: Facebook] <https://www.facebook.com/maduzanka> [image: Twitter]
<https://twitter.com/rmmpremaratne> [image: Google Plus]
<https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub> [image:
Linkedin] <http://lk.linkedin.com/in/madusanka/> [image: Instagram]
<http://instagram.com/madusankapremaratne> [image: Skype]
<http://@rmmpremaratne>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to