-
Notifications
You must be signed in to change notification settings - Fork 880
Conversation
…bxml-configfile fixes
<jersey2.version>2.23.1</jersey2.version> | ||
<swagger-core-version>2.0.7-SNAPSHOT</swagger-core-version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this 2.0.7? move property to root project and use 2.0.8-SNAPSHOT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version updated.
@@ -126,5 +131,6 @@ | |||
<inflector-version>2.0.0-SNAPSHOT</inflector-version> | |||
<junit-version>4.8.2</junit-version> | |||
<slf4j-version>1.6.3</slf4j-version> | |||
<swagger-core-version>2.0.8-SNAPSHOT</swagger-core-version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comment above
<jersey2.version>2.25.1</jersey2.version> | ||
<swagger-core-version>2.0.8-SNAPSHOT</swagger-core-version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comment above
@@ -88,13 +88,12 @@ | |||
<servlet-name>OpenApi</servlet-name> | |||
<url-pattern>/openapi/*</url-pattern> | |||
</servlet-mapping> | |||
<!-- alternatively use own Bootstrap servlet | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this uncommented
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed (commented again), doing some tests with the Bootstrap class.
@@ -19,7 +17,7 @@ | |||
version = "2.0", | |||
description = "API Definition", | |||
termsOfService = "Terms of service", | |||
license = @License(name = "Apache 2.0", url = "http://foo.bar"), | |||
license = @License(name = "Apache 2.0", url = ""), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why the change to url?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed by mistake. Fixed.
@@ -31,15 +29,6 @@ | |||
security = { | |||
@SecurityRequirement(name = "req 1", scopes = {"a", "b"}), | |||
@SecurityRequirement(name = "req 2", scopes = {"b", "c"}) | |||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are these removed?
variables = { | ||
@ServerVariable(name = "var1", description = "var 1", defaultValue = "1", allowableValues = {"1", "2"}), | ||
@ServerVariable(name = "var2", description = "var 2", defaultValue = "1", allowableValues = {"1", "2"}) | ||
}) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are these removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recovered, and added a new Server for testing .
servers = { | ||
@Server(description = "server 2", url = "http://foo2") | ||
} | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this class has been changed?
Projects Fixed.
Jackson updated to 2.9.8.
Swagger-core pointing to 2.0.8-SNAPSHOT