@@ -22,9 +22,9 @@ _* This report was auto-generated by graphql-http_
22
22
12 . MUST require a request body on POST
23
23
13 . SHOULD use 400 status code on missing {query} parameter when accepting application/graphql-response+json
24
24
14 . SHOULD use 400 status code on object {query} parameter when accepting application/graphql-response+json
25
- 15 . SHOULD use 400 status code on number {query} parameter when accepting application/graphql-response+json
26
- 16 . SHOULD use 400 status code on boolean {query} parameter when accepting application/graphql-response+ json
27
- 17 . SHOULD use 400 status code on array {query} parameter when accepting application/graphql-response+ json
25
+ 15 . SHOULD use 400 status code on array {query} parameter when accepting application/graphql-response+json
26
+ 16 . SHOULD use 200 status code with errors field on number {query} parameter when accepting application/json
27
+ 17 . SHOULD use 200 status code with errors field on boolean {query} parameter when accepting application/json
28
28
18 . SHOULD allow string {query} parameter when accepting application/graphql-response+json
29
29
19 . MUST allow string {query} parameter when accepting application/json
30
30
20 . SHOULD use 400 status code on object {operationName} parameter when accepting application/graphql-response+json
@@ -112,25 +112,25 @@ The server _SHOULD_ support these, but is not required.
112
112
```
113
113
</details>
114
114
115
- 3 . SHOULD use 200 status code with errors field on object {query} parameter when accepting application/json<br />
115
+ 3 . SHOULD use 400 status code on number {query} parameter when accepting application/graphql-response+ json<br />
116
116
117
117
<details>
118
- <summary>Response status code is not 200 </summary>
118
+ <summary>Response status code is not 400 </summary>
119
119
120
120
```json
121
121
{
122
- "statusText" : " Bad Request " ,
123
- "status" : 400 ,
122
+ "statusText" : " OK " ,
123
+ "status" : 200 ,
124
124
"headers" : {
125
125
"date" : " <timestamp>" ,
126
126
"content-type" : " application/json; charset=utf-8" ,
127
- "content-length" : " 64 " ,
127
+ "content-length" : " 61 " ,
128
128
"connection" : " close"
129
129
},
130
130
"body" : {
131
131
"errors" : [
132
132
{
133
- "message" : " body/query must be string "
133
+ "message" : " Must provide document. "
134
134
}
135
135
],
136
136
"data" : null
@@ -139,31 +139,25 @@ The server _SHOULD_ support these, but is not required.
139
139
```
140
140
</details>
141
141
142
- 4 . SHOULD use 200 status code with errors field on number {query} parameter when accepting application/json<br />
142
+ 4 . SHOULD use 400 status code on boolean {query} parameter when accepting application/graphql-response+ json<br />
143
143
144
144
<details>
145
- <summary>Response status code is not 200 </summary>
145
+ <summary>Response status code is not 400 </summary>
146
146
147
147
```json
148
148
{
149
- "statusText" : " Bad Request " ,
150
- "status" : 400 ,
149
+ "statusText" : " OK " ,
150
+ "status" : 200 ,
151
151
"headers" : {
152
152
"date" : " <timestamp>" ,
153
153
"content-type" : " application/json; charset=utf-8" ,
154
- "content-length" : " 110 " ,
154
+ "content-length" : " 61 " ,
155
155
"connection" : " close"
156
156
},
157
157
"body" : {
158
158
"errors" : [
159
159
{
160
- "message" : " Syntax Error: Unexpected Int \" 0\" ." ,
161
- "locations" : [
162
- {
163
- "line" : 1 ,
164
- "column" : 1
165
- }
166
- ]
160
+ "message" : " Must provide document."
167
161
}
168
162
],
169
163
"data" : null
@@ -172,7 +166,7 @@ The server _SHOULD_ support these, but is not required.
172
166
```
173
167
</details>
174
168
175
- 5 . SHOULD use 200 status code with errors field on boolean {query} parameter when accepting application/json<br />
169
+ 5 . SHOULD use 200 status code with errors field on object {query} parameter when accepting application/json<br />
176
170
177
171
<details>
178
172
<summary>Response status code is not 200</summary>
@@ -184,19 +178,13 @@ The server _SHOULD_ support these, but is not required.
184
178
"headers" : {
185
179
"date" : " <timestamp>" ,
186
180
"content-type" : " application/json; charset=utf-8" ,
187
- "content-length" : " 115 " ,
181
+ "content-length" : " 64 " ,
188
182
"connection" : " close"
189
183
},
190
184
"body" : {
191
185
"errors" : [
192
186
{
193
- "message" : " Syntax Error: Unexpected Name \" false\" ." ,
194
- "locations" : [
195
- {
196
- "line" : 1 ,
197
- "column" : 1
198
- }
199
- ]
187
+ "message" : " body/query must be string"
200
188
}
201
189
],
202
190
"data" : null
0 commit comments