Process #[schemars] attributes
This commit is contained in:
parent
1d0fd18c9e
commit
6b64cedb91
9 changed files with 113 additions and 26 deletions
16
schemars/tests/expected/property-name-struct.json
Normal file
16
schemars/tests/expected/property-name-struct.json
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "MyStruct",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"camelCase": {
|
||||
"type": "integer"
|
||||
},
|
||||
"new_name_1": {
|
||||
"type": "integer"
|
||||
},
|
||||
"new_name_2": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue