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

Add host() method to docket #1011

Merged
merged 2 commits into from
Oct 27, 2015
Merged

Conversation

cbornet
Copy link
Contributor

@cbornet cbornet commented Oct 16, 2015

This PR enables overriding the default host from the Docket.

  • if "host" is not set, then the behavior will be the same as the current one (use the properties file or the swagger def endpoint hostname)
  • if "host" is set, then it will be used.

Fixes #764

@cbornet
Copy link
Contributor Author

cbornet commented Oct 16, 2015

@dilipkrish Tell me if you are OK with this. If OK, please wait that I add unit tests before merging.

@dilipkrish
Copy link
Member

looks good to me 👍 only I'd say on the docket add an @Incubating annotation with 2.3 as the version

@dilipkrish
Copy link
Member

Also it doesn't seem like using @SwaggerDefinition is going to work for this issue

@dilipkrish
Copy link
Member

Is this ready for merge? Trying to close it out so I can include in 2.3

@cbornet
Copy link
Contributor Author

cbornet commented Oct 27, 2015

Arf! There is a conflict. I will solve it today.

@cbornet
Copy link
Contributor Author

cbornet commented Oct 27, 2015

Rebase done and unit tests OK --> ready to merge 😄

dilipkrish added a commit that referenced this pull request Oct 27, 2015
Add host() method to docket

fixes #764
@dilipkrish dilipkrish merged commit e5ef98c into springfox:master Oct 27, 2015
@dilipkrish
Copy link
Member

@cbornet done! thanks for being patient 🤘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants