@@ -129,25 +129,25 @@ testRule('xgen-IPA-106-create-method-request-body-is-request-suffixed-object', [
129129 errors : [
130130 {
131131 code : 'xgen-IPA-106-create-method-request-body-is-request-suffixed-object' ,
132- message : 'Response body for the Create method should refer to Request suffixed schema . http://go/ipa/106' ,
132+ message : 'The response body schema must reference a schema with a Request suffix . http://go/ipa/106' ,
133133 path : [ 'paths' , '/resource' , 'post' , 'requestBody' , 'content' , 'application/vnd.atlas.2023-01-01+json' ] ,
134134 severity : DiagnosticSeverity . Warning ,
135135 } ,
136136 {
137137 code : 'xgen-IPA-106-create-method-request-body-is-request-suffixed-object' ,
138- message : 'Response body for the Create method should refer to Request suffixed schema . http://go/ipa/106' ,
138+ message : 'The response body schema must reference a schema with a Request suffix . http://go/ipa/106' ,
139139 path : [ 'paths' , '/resource2' , 'post' , 'requestBody' , 'content' , 'application/vnd.atlas.2023-01-01+json' ] ,
140140 severity : DiagnosticSeverity . Warning ,
141141 } ,
142142 {
143143 code : 'xgen-IPA-106-create-method-request-body-is-request-suffixed-object' ,
144- message : 'Response body for the Create method should refer to Request suffixed schema . http://go/ipa/106' ,
144+ message : 'The response body schema must reference a schema with a Request suffix . http://go/ipa/106' ,
145145 path : [ 'paths' , '/resource2' , 'post' , 'requestBody' , 'content' , 'application/vnd.atlas.2024-01-01+json' ] ,
146146 severity : DiagnosticSeverity . Warning ,
147147 } ,
148148 {
149149 code : 'xgen-IPA-106-create-method-request-body-is-request-suffixed-object' ,
150- message : 'Response body for the Create method should refer to Request suffixed schema. http://go/ipa/106' ,
150+ message : 'The response body schema is defined inline and must reference a predefined schema. http://go/ipa/106' ,
151151 path : [ 'paths' , '/resource3' , 'post' , 'requestBody' , 'content' , 'application/vnd.atlas.2023-01-01+json' ] ,
152152 severity : DiagnosticSeverity . Warning ,
153153 } ,
0 commit comments