Skip to content

Conversation

@gracekarina
Copy link
Contributor

@gracekarina gracekarina commented Jan 25, 2019

refs #995 - fixing discriminator with remote enum reference

}


}else if (prop.getValue() instanceof RefProperty) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix formatting add space after bracket


}else if (prop.getValue() instanceof RefProperty) {
String ref = ((RefProperty) prop.getValue()).getSimpleRef();
Object resolved = swagger.getDefinitions().get(ref);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this mean that the ref must have been already resolved? are we sure it will be so?

@frantuma
Copy link
Contributor

please build

1 similar comment
@frantuma
Copy link
Contributor

please build

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.

3 participants