Setting a global value for discriminator


We have a project which contains hundreds of domain objects and are wondering if there is a way to specify, at a global level, that all objects will container a discriminator and that the property will always be “kind”.

We’re hoping to avoid the alternative which would be adding discriminator: kind to each of our hundreds of objects which is error prone and repetitive.



I think that question has been answered inside the raml-spec gitter channel I believe. Let me know if thats not the case