mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 03:58:33 +08:00
build: swagger deps move to api module
This commit is contained in:
parent
71493a9670
commit
db8626ac0e
@ -278,22 +278,6 @@
|
||||
<version>${xmlbeans.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- swagger 解析 -->
|
||||
<dependency>
|
||||
<groupId>io.swagger.parser.v3</groupId>
|
||||
<artifactId>swagger-parser</artifactId>
|
||||
<version>${swagger-parser.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>swagger-core</artifactId>
|
||||
<groupId>io.swagger.core.v3</groupId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<artifactId>swagger-models</artifactId>
|
||||
<groupId>io.swagger.core.v3</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.jsoup</groupId>
|
||||
|
@ -18,6 +18,22 @@
|
||||
<artifactId>metersphere-sdk</artifactId>
|
||||
<version>${revision}</version>
|
||||
</dependency>
|
||||
<!-- swagger 解析 -->
|
||||
<dependency>
|
||||
<groupId>io.swagger.parser.v3</groupId>
|
||||
<artifactId>swagger-parser</artifactId>
|
||||
<version>${swagger-parser.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>swagger-core</artifactId>
|
||||
<groupId>io.swagger.core.v3</groupId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<artifactId>swagger-models</artifactId>
|
||||
<groupId>io.swagger.core.v3</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
|
@ -3,7 +3,7 @@ package io.metersphere.bug.controller;
|
||||
import io.metersphere.bug.domain.Bug;
|
||||
import io.metersphere.bug.service.BugService;
|
||||
import io.metersphere.validation.groups.Created;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
@ -15,7 +15,7 @@ import java.util.List;
|
||||
* @author : jianxing
|
||||
* @date : 2023-5-17
|
||||
*/
|
||||
@Api(tags = "缺陷")
|
||||
@Schema(title = "缺陷")
|
||||
@RestController
|
||||
@RequestMapping("/bug")
|
||||
public class BugController {
|
||||
|
@ -17,7 +17,7 @@ import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
Loading…
Reference in New Issue
Block a user