Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Feature/update 2.0 #172

Merged
merged 10 commits into from
Apr 11, 2019
Merged

Feature/update 2.0 #172

merged 10 commits into from
Apr 11, 2019

Conversation

ralphdoe
Copy link
Contributor

Projects Fixed.
Jackson updated to 2.9.8.
Swagger-core pointing to 2.0.8-SNAPSHOT

@ralphdoe ralphdoe requested a review from frantuma March 29, 2019 15:02
<jersey2.version>2.23.1</jersey2.version>
<swagger-core-version>2.0.7-SNAPSHOT</swagger-core-version>
Copy link
Member

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

Copy link
Contributor Author

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>
Copy link
Member

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>
Copy link
Member

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this uncommented

Copy link
Contributor Author

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 = ""),
Copy link
Member

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?

Copy link
Contributor Author

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"})
},
Copy link
Member

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"})
})
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are these removed?

Copy link
Contributor Author

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")
}
)
Copy link
Member

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?

@frantuma frantuma merged commit fcb1f93 into 2.0 Apr 11, 2019
@frantuma frantuma deleted the feature/update-2.0 branch April 11, 2019 13:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants