Skip to content
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

fixes ignored swagger config via context attribute #1687

Merged
merged 1 commit into from
Feb 29, 2016
Merged

fixes ignored swagger config via context attribute #1687

merged 1 commit into from
Feb 29, 2016

Conversation

frantuma
Copy link
Member

@webron

Fix for ignored swagger config via context attribute as reported by testuser1234 on IRC.

Before the fix, swagger configuration via context.setAttribute("swagger", swagger); in client Bootstrap servlet (or equivalent) would not be picked up by swagger

A workaround for unpatched code is configuring via new mechanism like:

new SwaggerContextService().withServletConfig(config).updateSwagger(swagger);

@frantuma frantuma added this to the v1.5.8 milestone Feb 29, 2016
frantuma added a commit that referenced this pull request Feb 29, 2016
fixes ignored swagger config via context attribute
@frantuma frantuma merged commit 74fa4be into swagger-api:master Feb 29, 2016
@frantuma frantuma deleted the hotfix-swagger-config branch February 29, 2016 19:43
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.

None yet

1 participant