galovics
6 years agoNew Contributor
allOf with same property names
Dear all,
I was wondering if its allowed to use the same property name within a composed definition.
Think about the following, a schema that is using allOf and is composed by 2 subschemas, for example OrderInfo and Category. Both OrderInfo and Category has a common attribute: "id".
Is this allowed by the OpenAPI spec? I was trying to find this but wasn't able to do so. A clarification would be appreciated.
Thanks!