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

[WIP] openapi && swagger #234

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

[WIP] openapi && swagger #234

wants to merge 1 commit into from

Conversation

dzdx
Copy link
Member

@dzdx dzdx commented Jun 9, 2022

Motivation:

Explain the context, and why you're making that change.
To make others understand what is the problem you're trying to solve.

Modification:

Describe the idea and modifications you've done.

Result:

Fixes #232

If there is no issue then describe the changes introduced by this PR.

@dzdx dzdx changed the title openapi openapi && swagger Jun 9, 2022
@dzdx dzdx changed the title openapi && swagger [WIP] openapi && swagger Jun 9, 2022
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jersey</artifactId>
<version>2.3.9.RELEASE</version>
Copy link
Member

Choose a reason for hiding this comment

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

It's better to define a variable like `spring-boot.version

@@ -37,6 +39,7 @@
* @author shangyu.wh
* @version $Id: StopPushDataResource.java, v 0.1 2018-07-25 11:40 shangyu.wh Exp $
*/
@Api("黑名单")
Copy link
Member

Choose a reason for hiding this comment

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

Is it better to define it as English?

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot</artifactId>
<version>2.3.9.RELEASE</version>
Copy link
Member

Choose a reason for hiding this comment

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

It's better to manage the version in parent pom's dependencyManagement session.
The compile scope is redundant.

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

Successfully merging this pull request may close these issues.

OpenAPI
2 participants