mirror of https://gitee.com/stylefeng/roses
【7.3.2】【openapi】更新open-api模块格式
parent
a35d4c63d5
commit
1dcbedb4bf
|
@ -31,8 +31,10 @@ package cn.stylefeng.roses.kernel.openapi.api.constants;
|
||||||
* @date 2022-11-11
|
* @date 2022-11-11
|
||||||
*/
|
*/
|
||||||
public interface OpenApiConstants {
|
public interface OpenApiConstants {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenApi模块的名称
|
* OpenApi模块的名称
|
||||||
*/
|
*/
|
||||||
String OPENAPI_MODULE_NAME = "kernel-d-openapi";
|
String OPENAPI_MODULE_NAME = "kernel-d-openapi";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,9 +29,6 @@ import io.swagger.v3.core.converter.AnnotatedType;
|
||||||
import io.swagger.v3.core.converter.ModelConverter;
|
import io.swagger.v3.core.converter.ModelConverter;
|
||||||
import io.swagger.v3.core.converter.ModelConverterContext;
|
import io.swagger.v3.core.converter.ModelConverterContext;
|
||||||
import io.swagger.v3.oas.models.media.Schema;
|
import io.swagger.v3.oas.models.media.Schema;
|
||||||
import org.springframework.core.Ordered;
|
|
||||||
import org.springframework.core.annotation.Order;
|
|
||||||
import org.springframework.stereotype.Service;
|
|
||||||
|
|
||||||
import java.lang.annotation.Annotation;
|
import java.lang.annotation.Annotation;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
|
|
@ -104,4 +104,5 @@ public class GunsJavadocProviderImpl implements JavadocProvider {
|
||||||
public String getFirstSentence(String text) {
|
public String getFirstSentence(String text) {
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
4
pom.xml
4
pom.xml
|
@ -58,6 +58,9 @@
|
||||||
<!--office模块-->
|
<!--office模块-->
|
||||||
<module>kernel-d-office</module>
|
<module>kernel-d-office</module>
|
||||||
|
|
||||||
|
<!--open api适配-->
|
||||||
|
<module>kernel-d-openapi</module>
|
||||||
|
|
||||||
<!--拼音工具模块-->
|
<!--拼音工具模块-->
|
||||||
<module>kernel-d-pinyin</module>
|
<module>kernel-d-pinyin</module>
|
||||||
|
|
||||||
|
@ -114,7 +117,6 @@
|
||||||
|
|
||||||
<!-- 数据迁移模块 -->
|
<!-- 数据迁移模块 -->
|
||||||
<module>kernel-s-migration</module>
|
<module>kernel-s-migration</module>
|
||||||
<module>kernel-d-openapi</module>
|
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue