ChangeLog
Changelog of the ApiHug SDK.
AuditContextSupplier
generated independently instead with domain entity logicDSL
风格的 BDD
定义方式,遵循面向消费者的测试 - 契约测试原则wire
proto 过程中引入了新的 kolaTest
任务cn_message
- > message2
UPPER_FIRST
-> CAPITALIZE
SNAKE
stylemyVariableName
my_variable_name
UPPER
stylename
-> NAME
NAME
-> name
userName
-> UserName
hope.common.persistence.plugin.NameMappingStrategy
client plugin to rename the column name.Example:
{
"persistence": {
"identifyType": "LONG",
"tenantType": "LONG",
"format": "CAMEL",
"upper": "UPPER"
}
}
stub -DenableExperiment=true
to enable it!errors
, dictionaries
,authorities
/hope/meta/errors
/hope/meta/dictionaries
/hope/meta/authorities
EnumWriter
, PojoWriter
, ServiceWriter
to avoid code conflict for merger for ApiCollector
getConvertersToRegister
& basePackages
& Database
avoid code chaos during merger!Java parser
not support 17
syntaxRepository
maintain way to Trait
separated location, make code clean;lite
as default model for the stub side, make it more swiftSecurityCustomizer
code template make the comment style perfectJWTFilter
make it support customized jwt
pick for example from header or cookies etc.blank
& empty
, consider as required
implicitlyread_only
supportOAS
sort as alphabetically descendingfinal String name = groupId + "_" + artifactId + ".json";
avoid possible conflictdefaultValue = 1
of the @Schema
annotation to defaultValue = "1"
google.protobuf.BoolValue
-> hope.mock.BoolRule
, less code, more straightforward.authorization_struct
—> RBAC
make it more user friendly: RBAC rbac = 2;
google.protobuf.BoolValue blank = 49;
for the String
specific field
empty
vs blank
, blank more for the string field, string field may not empty, but may be blank, as it include
no qualify character, like space, tab, etc.