@@ -253,7 +253,7 @@ export function serverAudits(opts: ServerAuditOptions): Audit[] {
253
253
} ,
254
254
) ,
255
255
audit (
256
- 'MUST use 200 status code with errors field on missing {query} parameter when accepting application/json' ,
256
+ 'SHOULD use 200 status code with errors field on missing {query} parameter when accepting application/json' ,
257
257
async ( ) => {
258
258
const res = await fetchFn ( opts . url , {
259
259
method : 'POST' ,
@@ -293,7 +293,7 @@ export function serverAudits(opts: ServerAuditOptions): Audit[] {
293
293
) ,
294
294
...[ { obj : 'ect' } , 0 , false , [ 'array' ] ] . map ( ( invalid ) =>
295
295
audit (
296
- `MUST use 200 status code with errors field on ${ extendedTypeof (
296
+ `SHOULD use 200 status code with errors field on ${ extendedTypeof (
297
297
invalid ,
298
298
) } {query} parameter when accepting application/json`,
299
299
async ( ) => {
@@ -376,7 +376,7 @@ export function serverAudits(opts: ServerAuditOptions): Audit[] {
376
376
) ,
377
377
...[ { obj : 'ect' } , 0 , false , [ 'array' ] ] . map ( ( invalid ) =>
378
378
audit (
379
- `MUST use 200 status code with errors field on ${ extendedTypeof (
379
+ `SHOULD use 200 status code with errors field on ${ extendedTypeof (
380
380
invalid ,
381
381
) } {operationName} parameter when accepting application/json`,
382
382
async ( ) => {
@@ -462,7 +462,7 @@ export function serverAudits(opts: ServerAuditOptions): Audit[] {
462
462
) ,
463
463
...[ 'string' , 0 , false , [ 'array' ] ] . map ( ( invalid ) =>
464
464
audit (
465
- `MUST use 200 status code with errors field on ${ extendedTypeof (
465
+ `SHOULD use 200 status code with errors field on ${ extendedTypeof (
466
466
invalid ,
467
467
) } {variables} parameter when accepting application/json`,
468
468
async ( ) => {
@@ -591,7 +591,7 @@ export function serverAudits(opts: ServerAuditOptions): Audit[] {
591
591
) ,
592
592
...[ 'string' , 0 , false , [ 'array' ] ] . map ( ( invalid ) =>
593
593
audit (
594
- `MUST use 200 status code with errors field on ${ extendedTypeof (
594
+ `SHOULD use 200 status code with errors field on ${ extendedTypeof (
595
595
invalid ,
596
596
) } {extensions} parameter when accepting application/json`,
597
597
async ( ) => {
0 commit comments