Skip to content

Conversation

@adarshsharma
Copy link
Contributor

in oneOf ComposedSchema by default the propertyName field of the discriminator has value same as schema name. In case of name conflict the name of the schema changes, effectively changing the mapping. Fixed this case by keeping the older mapping.
Also in case of name conflict, the reference in the mapping was not changing.

@gracekarina
Copy link
Contributor

@adarshsharma Thanks!

@gracekarina gracekarina merged commit 7b972b8 into swagger-api:2.0 Jan 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants