My name is Yu Sun
shalousun / applicationpower Goto Github PK
View Code? Open in Web Editor NEWApplicationPower is a fast code generator for a maven project
License: Apache License 2.0
ApplicationPower is a fast code generator for a maven project
License: Apache License 2.0
使用了LocalDateTime类,直接分解了LocalDateTime对象,返回大量里面的的字段,可否有配置让注释停止在某一层?
Request-parameters:
Parameter | Type | Description | Required |
---|---|---|---|
id | number | No comments found. | false |
facilityCode | string | No comments found. | false |
reportTime | object | No comments found | false |
└─MIN | object | No comments found | false |
└─MAX | object | No comments found | false |
└─date | object | No comments found | false |
└─MIN | object | No comments found | false |
└─MAX | object | No comments found | false |
└─DAYS_PER_CYCLE | int | No comments found. | false |
└─DAYS_0000_TO_1970 | number | No comments found. | false |
└─year | int | No comments found. | false |
└─month | int | No comments found. | false |
└─day | int | No comments found. | false |
└─time | object | No comments found | false |
└─MIN | object | No comments found | false |
└─MAX | object | No comments found | false |
└─MIDNIGHT | object | No comments found | false |
└─NOON | object | No comments found | false |
└─HOURS | array | No comments found | false |
└─HOURS_PER_DAY | int | No comments found. | false |
└─MINUTES_PER_HOUR | int | No comments found. | false |
└─MINUTES_PER_DAY | int | No comments found. | false |
└─SECONDS_PER_MINUTE | int | No comments found. | false |
└─SECONDS_PER_HOUR | int | No comments found. | false |
└─SECONDS_PER_DAY | int | No comments found. | false |
└─MILLIS_PER_DAY | number | No comments found. | false |
└─MICROS_PER_DAY | number | No comments found. | false |
└─NANOS_PER_SECOND | number | No comments found. | false |
└─NANOS_PER_MINUTE | number | No comments found. | false |
└─NANOS_PER_HOUR | number | No comments found. | false |
└─NANOS_PER_DAY | number | No comments found. | false |
└─hour | string | No comments found. | false |
└─minute | string | No comments found. | false |
└─second | string | No comments found. | false |
└─nano | int | No comments found. | false |
submitTime | object | No comments found | false |
└─MIN | object | No comments found | false |
└─MAX | object | No comments found | false |
└─date | object | No comments found | false |
└─MIN | object | No comments found | false |
└─MAX | object | No comments found | false |
└─DAYS_PER_CYCLE | int | No comments found. | false |
└─DAYS_0000_TO_1970 | number | No comments found. | false |
└─year | int | No comments found. | false |
└─month | int | No comments found. | false |
└─day | int | No comments found. | false |
└─time | object | No comments found | false |
└─MIN | object | No comments found | false |
└─MAX | object | No comments found | false |
└─MIDNIGHT | object | No comments found | false |
└─NOON | object | No comments found | false |
└─HOURS | array | No comments found | false |
└─HOURS_PER_DAY | int | No comments found. | false |
└─MINUTES_PER_HOUR | int | No comments found. | false |
└─MINUTES_PER_DAY | int | No comments found. | false |
└─SECONDS_PER_MINUTE | int | No comments found. | false |
└─SECONDS_PER_HOUR | int | No comments found. | false |
└─SECONDS_PER_DAY | int | No comments found. | false |
└─MILLIS_PER_DAY | number | No comments found. | false |
└─MICROS_PER_DAY | number | No comments found. | false |
└─NANOS_PER_SECOND | number | No comments found. | false |
└─NANOS_PER_MINUTE | number | No comments found. | false |
└─NANOS_PER_HOUR | number | No comments found. | false |
└─NANOS_PER_DAY | number | No comments found. | false |
└─hour | string | No comments found. | false |
└─minute | string | No comments found. | false |
└─second | string | No comments found. | false |
└─nano | int | No comments found. | false |
data | array | No comments found | false |
Request-example:
[
{
"id":104,
"facilityCode":"77373",
"reportTime":{
"MIN":{
"$ref":"..."
},
"MAX":{
"$ref":"..."
},
"date":{
"MIN":{
"$ref":"..."
},
"MAX":{
"$ref":"..."
},
"DAYS_PER_CYCLE":0,
"DAYS_0000_TO_1970":100,
"year":735,
"month":"1931",
"day":"9270"
},
"time":{
"MIN":{
"$ref":"..."
},
"MAX":{
"$ref":"..."
},
"MIDNIGHT":{
"$ref":"..."
},
"NOON":{
"$ref":"..."
},
"HOURS":[
{
"$ref":".."
}
],
"HOURS_PER_DAY":151,
"MINUTES_PER_HOUR":376,
"MINUTES_PER_DAY":775,
"SECONDS_PER_MINUTE":80,
"SECONDS_PER_HOUR":642,
"SECONDS_PER_DAY":511,
"MILLIS_PER_DAY":234,
"MICROS_PER_DAY":597,
"NANOS_PER_SECOND":592,
"NANOS_PER_MINUTE":717,
"NANOS_PER_HOUR":334,
"NANOS_PER_DAY":108,
"hour":"xc02n6",
"minute":"10qk88",
"second":"o0t2bk",
"nano":53
}
},
"submitTime":{
"MIN":{
"$ref":"..."
},
"MAX":{
"$ref":"..."
},
"date":{
"MIN":{
"$ref":"..."
},
"MAX":{
"$ref":"..."
},
"DAYS_PER_CYCLE":925,
"DAYS_0000_TO_1970":338,
"year":947,
"month":"20672",
"day":"3434"
},
"time":{
"MIN":{
"$ref":"..."
},
"MAX":{
"$ref":"..."
},
"MIDNIGHT":{
"$ref":"..."
},
"NOON":{
"$ref":"..."
},
"HOURS":[
{
"$ref":".."
}
],
"HOURS_PER_DAY":247,
"MINUTES_PER_HOUR":771,
"MINUTES_PER_DAY":473,
"SECONDS_PER_MINUTE":25,
"SECONDS_PER_HOUR":787,
"SECONDS_PER_DAY":328,
"MILLIS_PER_DAY":990,
"MICROS_PER_DAY":257,
"NANOS_PER_SECOND":814,
"NANOS_PER_MINUTE":816,
"NANOS_PER_HOUR":5,
"NANOS_PER_DAY":829,
"hour":"xa2j8r",
"minute":"nzg7zf",
"second":"edxskd",
"nano":30
}
},
"data":{
"object":"any object"
}
}
]
现在放一起感觉又没多大联系
smart-doc是否可以考虑针对一些制定类型的类进行doc生成呢?
检测到 shalousun/ApplicationPower 一共引入了23个开源组件,存在3个漏洞
漏洞标题:Apache Log4j2 < 2.15.0远程代码执行漏洞
缺陷组件:org.apache.logging.log4j:[email protected]
漏洞编号:CVE-2021-44228
漏洞描述:Apache log4j是java中常用的日志记录组件,攻击者发现在小于2.15.0的版本中存在远程代码执行漏洞。
漏洞原因:
由于log4j2默认支持JNDI在内的Lookup查找机制,当日志内容中包含${foo.bar}样式的内容时,会查找相应的值进行替换。因此当用户请求中的内容通过log4j作为日志内容记录时,攻击者可能通过恶意构造的内容,触发log4j的lookup方法,进而执行恶意代码。
影响范围:[2.13.0, 2.15.0)
最小修复版本:2.17.0
缺陷组件引入路径:com.github.shalousun:[email protected]>org.apache.logging.log4j:[email protected]
另外还有3个漏洞,详细报告:https://mofeisec.com/jr?p=i5cab7
smart-doc 可以考虑增加适用语言,比如支持kotlin
file.separator=fileName 设置了文件名无效?
例如参数注解为@RequestHeader,需要放到头部去
如果在项目中引入了smart-doc,则jpa相关包等就自动不能引入了。删除掉smart-doc依赖,则又可以了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.