Skip to content

Sd 133 code generation error external refs #280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

fehguy
Copy link
Contributor

@fehguy fehguy commented Aug 3, 2016

see #273

@@ -59,6 +60,10 @@ public String processRefToExternalDefinition(String $ref, RefFormat refFormat) {
subRef.set$ref(processRefToExternalDefinition(subRef.get$ref(), subRef.getRefFormat()));
}
}
} else if (model instanceof ArrayModel && ((ArrayModel)model).getItems() instanceof RefProperty) {
Copy link

Choose a reason for hiding this comment

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

Perhaps this shouldn't be an "else", but a separate "if" below.

@diegode
Copy link

diegode commented Aug 3, 2016

Shouldn't we also consider the case of ComposedModel? (and I'm not sure if there are others).

@diegode
Copy link

diegode commented Aug 16, 2016

@fehguy I just created this other pull request: #284
that fixes a different but related case.

@diegode
Copy link

diegode commented Aug 16, 2016

@fehguy you can close this case and merge instead #284

@diegode diegode mentioned this pull request Aug 25, 2016
@fehguy fehguy closed this Aug 26, 2016
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