Added the ability to disable the swagger validation URL#51
Open
cheekymonkat wants to merge 1 commit intofederecio:masterfrom
cheekymonkat:disable_validation_url
Open
Added the ability to disable the swagger validation URL#51cheekymonkat wants to merge 1 commit intofederecio:masterfrom cheekymonkat:disable_validation_url
cheekymonkat wants to merge 1 commit intofederecio:masterfrom
cheekymonkat:disable_validation_url
Conversation
|
Would love to see this PR merged into master. We are having the same issue and had to manually change it in the template file for now. |
|
@cheekymonkat Could you submit this PR to https://github.com/smoketurner/dropwizard-swagger ? |
akraxx
pushed a commit
to akraxx/dropwizard-swagger
that referenced
this pull request
Jan 30, 2017
* [maven-release-plugin] rollback the release of v1.0.0-2 * Added a sample application to view the documentation from within this repo * Try replacing FireFox with Chrome. The tests are more reliable, but now we're getting ElementNotVisibleExceptions :( * Upgrade to swagger-ui 2.2.5 and remove custom auth UI code in favor of SecurityDefinition annotations * Tests with Chrome are now passing. This requires the next SNAPSHOT release of swagger-core to fix an issue with the ApiKeys
|
@whisperwing How did you disable validation manually? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Swagger UI supports the ability to disable the swagger validation check - as we use internal API's this always fails. This is to disable that feature.
Specify in the config:
isValidationUrlDisabled: true