Skip to content

Commit d637b0b

Browse files
docs: update CLI reference documentation
🤖 Generated by GitHub Actions
1 parent e223a88 commit d637b0b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/cli-reference/field-customization.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ The `--empty-enum-field-name` flag configures the code generation behavior.
585585
"\n",
586586
"\r\n",
587587
"\t",
588-
"\b",
588+
"\\x08",
589589
null,
590590
"\\"
591591
]
@@ -613,8 +613,8 @@ The `--empty-enum-field-name` flag configures the code generation behavior.
613613
field_ = '\n'
614614
field__ = '\r\n'
615615
field__1 = '\t'
616-
field__2 = '\b'
617-
field__3 = '\\'
616+
field_x08 = '\\x08'
617+
field__2 = '\\'
618618

619619

620620
class Model(BaseModel):
@@ -2225,7 +2225,7 @@ The `--special-field-name-prefix` flag configures the code generation behavior.
22252225
"\n",
22262226
"\r\n",
22272227
"\t",
2228-
"\b",
2228+
"\\x08",
22292229
null,
22302230
"\\"
22312231
]
@@ -2253,8 +2253,8 @@ The `--special-field-name-prefix` flag configures the code generation behavior.
22532253
special__1 = '\n'
22542254
special__ = '\r\n'
22552255
special__2 = '\t'
2256-
special__3 = '\b'
2257-
special__4 = '\\'
2256+
special_x08 = '\\x08'
2257+
special__3 = '\\'
22582258

22592259

22602260
class Model(BaseModel):

docs/cli-reference/template-customization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,7 @@ The `--disable-timestamp` flag configures the code generation behavior.
12551255
},
12561256
"comment": {
12571257
"type": "string",
1258-
"pattern": "[^\b\f\n\r\t\\\\a+.?'\"|()]+$"
1258+
"pattern": "[^\\x08\\f\\n\\r\\t\\\\a+.?'\"|()]+$"
12591259
}
12601260
}
12611261
}
@@ -1283,7 +1283,7 @@ The `--disable-timestamp` flag configures the code generation behavior.
12831283
constr(regex=r'(^arn:([^:]*):([^:]*):([^:]*):(|\*|[\d]{12}):(.+)$)|^\*$') | None
12841284
) = None
12851285
tel: constr(regex=r'^(\([0-9]{3}\))?[0-9]{3}-[0-9]{4}$') | None = None
1286-
comment: constr(regex=r'[^\b\f\n\r\t\\a+.?\'"|()]+$') | None = None
1286+
comment: constr(regex=r'[^\x08\f\n\r\t\\a+.?\'"|()]+$') | None = None
12871287
```
12881288

12891289
---

0 commit comments

Comments
 (0)