Enable renaming schemas using attribute on struct

This commit is contained in:
Graham Esau 2019-08-07 23:03:54 +01:00
parent 67d44533d6
commit 1d0fd18c9e
6 changed files with 78 additions and 60 deletions

View file

@ -4,7 +4,7 @@
"type": "object",
"properties": {
"inner": {
"$ref": "#/definitions/MySimpleStruct"
"$ref": "#/definitions/another-new-name"
},
"t": {
"type": "integer"