Skip to content

Conversation

kkrauth
Copy link
Contributor

@kkrauth kkrauth commented Oct 16, 2015

When no authentication methods are defined, the generated code does not compile due to where the authMethods closing tag is located. Moved the closing tag further down and opening tag further up so that the generated code is correct both when authentication are and aren't present.

When no authentication methods are defined, the generated code does not compile due to where the authMethods closing tag is located. Moved the closing tag further down and opening tag further up so that the generated code is correct both when authentication are and aren't present.
@wing328
Copy link
Contributor

wing328 commented Oct 18, 2015

@kkrauth thanks for the PR to address the issue. I was able to repeat the issue and used your PR to fix it.

We'll also check other templates to see if there're similar issues and file a PR to fix if found any.

wing328 added a commit that referenced this pull request Oct 18, 2015
Fix syntax issue when no auth methods defined
@wing328 wing328 merged commit eb1e0b5 into swagger-api:master Oct 18, 2015
@kkrauth kkrauth deleted the patch-1 branch October 22, 2015 17:23
@fehguy fehguy modified the milestone: v2.1.4 Oct 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants