Support types with const generics (#239)
Co-authored-by: Spencer Sharkey <spsharkey@tesla.com>
This commit is contained in:
parent
0303f0334e
commit
37478d764e
5 changed files with 129 additions and 21 deletions
14
schemars/tests/expected/schema-name-const-generics.json
Normal file
14
schemars/tests/expected/schema-name-const-generics.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "const-generics-z-42",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"foo"
|
||||
],
|
||||
"properties": {
|
||||
"foo": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue