Skip to content

Commit b1a5a2c

Browse files
committed
Require object values in member serialization schemas
1 parent f22b471 commit b1a5a2c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

schema/members.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
},
7878
"include": {
7979
"title": "Include mixin",
80+
"type": "object",
8081
"properties": {
8182
"member": {
8283
"enum": ["include"]
@@ -107,6 +108,7 @@
107108
},
108109
"extend": {
109110
"title": "Extend mixin",
111+
"type": "object",
110112
"properties": {
111113
"member": {
112114
"enum": ["extend"]
@@ -137,6 +139,7 @@
137139
},
138140
"prepend": {
139141
"title": "Prepend mixin",
142+
"type": "object",
140143
"properties": {
141144
"member": {
142145
"enum": ["prepend"]
@@ -168,6 +171,7 @@
168171
"attribute": {
169172
"title": "Attribute definitions",
170173
"description": "`attr_reader`, `attr_accessor`, `attr_writer`",
174+
"type": "object",
171175
"properties": {
172176
"member": {
173177
"type": "string",
@@ -232,6 +236,7 @@
232236
"alias": {
233237
"title": "Alias declaration",
234238
"description": "`alias to_s inspect`, `alias self.new self.allocate`, ...",
239+
"type": "object",
235240
"properties": {
236241
"member": {
237242
"type": "string",

0 commit comments

Comments
 (0)