Skip to content

Instantly share code, notes, and snippets.

View vixduong's full-sized avatar

Duong Vi Xuan vixduong

  • evolableasian.vn
  • Ha Noi, Viet Nam
View GitHub Profile
@vixduong
vixduong / json
Created August 11, 2023 07:41
bpm openapi
{
"openapi": "3.0.1",
"info": {
"title": "iBPM Job Derivative API",
"description": "Phần nghiệp vụ xử lý tạo job phái sinh cho iBPM",
"version": "1.0"
},
"servers": [
{
"url": "http://192.168.10.92:8080",
StringBuilder sb = new StringBuilder();
Matcher matcher = Pattern.compile("(\")(.*?)(\"\s*:)").matcher(json);
while (matcher.find()) {
matcher.appendReplacement(sb, String.join("",
matcher.group(1),
matcher.group(2).substring(0, 1).toUpperCase(),
matcher.group(2).substring(1),
matcher.group(3))
);
}
style = defaultWithAlign
align=more
maxColumn = 120
// http://scalameta.org/scalafmt/#align.openParenCallSite
align.openParenCallSite = true
align.openParenDefnSite = false
// http://scalameta.org/scalafmt/#align.arrowEnumeratorGenerator
align.arrowEnumeratorGenerator = true
danglingParentheses = true
// http://scalameta.org/scalafmt/#optIn.breakChainOnFirstMethodDot