These are chat archives for APIs-guru/api-models

1st
Oct 2015
Ben Hutton
@Relequestual
Oct 01 2015 15:40
Hey Ivan
Ivan Goncharov
@IvanGoncharov
Oct 01 2015 15:41
Hi
sorry I need to run
Ben Hutton
@Relequestual
Oct 01 2015 15:41
haha ok, no worries
thanks for your reply =]
Ivan Goncharov
@IvanGoncharov
Oct 01 2015 15:41
we can even speak in Skype
ivangon4arov
Ben Hutton
@Relequestual
Oct 01 2015 15:41
I'm afraid I can't use that at work
Ivan Goncharov
@IvanGoncharov
Oct 01 2015 15:41
it's my Skype id
ok
write questions
and I will answer
then I will cameback
Ben Hutton
@Relequestual
Oct 01 2015 15:42
OK. I'll have to get back to you anyway. Sorry. =]
Ivan Goncharov
@IvanGoncharov
Oct 01 2015 15:43
It's normal. I'm doing Wikipedia for Web APIs so I should evangelize Swagger
:)
Ben Hutton
@Relequestual
Oct 01 2015 15:54
I understand why the chose not to use full json-schema, but I think the benifits of doing so would outweigh the problems of not
Ivan Goncharov
@IvanGoncharov
Oct 01 2015 19:25
@Relequestual People around swagger tied to particular setup
initially they started as internal project of Wordnik
so they supported Spring framework on Java
and it's what make Swagger so successful
You just need to connect particular Java or Scala library and everything work out of box
and polymorphism model is heavily influenced by Java
it also hard to generate proper models in languages with static typing
Ivan Goncharov
@IvanGoncharov
Oct 01 2015 19:31
so they have their own concerns mostly related they "official" setup
Problem is that they don't have support for both oneOf and discriminator
and it unrealistic to support discriminator for validation in particular
it's mean you need to create you own Json Schema validator just for Swagger