From b931873b39371b7b4cc6eea8772eb847e1a9e2e0 Mon Sep 17 00:00:00 2001 From: oppofind <836575280@qq.com> Date: Sun, 21 Jun 2020 15:08:56 +0800 Subject: [PATCH] release 1.1.0 --- README.md | 2 ++ README_CN.md | 6 ++++-- build.gradle | 2 +- gradle.properties | 14 +++++++++++--- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index abdd6ce..64fae1c 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,8 @@ When you need to use smart-doc to generate more API document information, you ca   "skipTransientField": true, // Not currently implemented "requestFieldToUnderline":true, //convert request field to underline "responseFieldToUnderline":true,//convert response field to underline + "inlineEnum":true,// Set to true to display enumeration details in the parameter table + "recursionLimit":7,// Set the number of recursive executions to avoid stack overflow, the default is 7   "dataDictionaries": [// Configure the data dictionary, no need to set     {       "title": "Order Status", // The name of the data dictionary diff --git a/README_CN.md b/README_CN.md index 30445bf..b6686a6 100644 --- a/README_CN.md +++ b/README_CN.md @@ -79,8 +79,10 @@ subprojects{ "md5EncryptedHtmlName": false,//只有每个controller生成一个html文件是才使用 "projectName": "smart-doc",//配置自己的项目名称 "skipTransientField": true,//目前未实现 - "requestFieldToUnderline":true, //自动将驼峰入参字段在文档中转为下划线格式,//@since 1.8.7 版本开始 - "responseFieldToUnderline":true,//自动将驼峰入参字段在文档中转为下划线格式,//@since 1.8.7 版本开始 + "requestFieldToUnderline":true, //自动将驼峰入参字段在文档中转为下划线格式,//@since smart-doc 1.8.7 版本开始 + "responseFieldToUnderline":true,//自动将驼峰入参字段在文档中转为下划线格式,//@since smart-doc 1.8.7 版本开始 + "inlineEnum":true,//设置为true会将枚举详情展示到参数表中,默认关闭,//@since smart-doc 1.8.8版本开始 + "recursionLimit":7,//设置允许递归执行的次数用于避免一些对象解析卡主,默认是7,正常为3次以内,//@since smart-doc 1.8.8版本开始 "dataDictionaries": [ //配置数据字典,没有需求可以不设置 { "title": "订单状态", //数据字典的名称 diff --git a/build.gradle b/build.gradle index 7d81489..e850609 100644 --- a/build.gradle +++ b/build.gradle @@ -25,7 +25,7 @@ repositories { dependencies { testCompile group: 'junit', name: 'junit', version: '4.13' - compile 'com.github.shalousun:smart-doc:1.8.7' + compile 'com.github.shalousun:smart-doc:1.8.8' } tasks.withType(JavaCompile) { options.encoding = "UTF-8" diff --git a/gradle.properties b/gradle.properties index a946cb7..e6aac66 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,11 @@ -# message -ossrhUsername=12345 -ossrhPassword=12345 \ No newline at end of file +NEXUS_USERNAME= shalousun +NEXUS_PASSWORD= Chensanyan@5201314 +SONATYPE_NEXUS_USERNAME=shalousun +SONATYPE_NEXUS_PASSWORD=Chensanyan@5201314 +sonatypeUsername=shalousun +sonatypePassword=Chensanyan@5201314 +ossrhUsername=shalousun +ossrhPassword=Chensanyan@5201314 +signing.keyId= 51192AE5 +signing.password= yusun4123456 +signing.secretKeyRingFile= C:/Users/yu/secret.gpg \ No newline at end of file