@@ -154,31 +154,36 @@ testRule('xgen-IPA-106-create-method-request-body-is-request-suffixed-object', [
154154 errors : [
155155 {
156156 code : 'xgen-IPA-106-create-method-request-body-is-request-suffixed-object' ,
157- message : 'The response body schema must reference a schema with a Request suffix. http://go/ipa-spectral#IPA-106' ,
157+ message :
158+ 'The response body schema must reference a schema with a Request suffix. http://go/ipa-spectral#IPA-106' ,
158159 path : [ 'paths' , '/resource' , 'post' , 'requestBody' , 'content' , 'application/vnd.atlas.2023-01-01+json' ] ,
159160 severity : DiagnosticSeverity . Warning ,
160161 } ,
161162 {
162163 code : 'xgen-IPA-106-create-method-request-body-is-request-suffixed-object' ,
163- message : 'The response body schema must reference a schema with a Request suffix. http://go/ipa-spectral#IPA-106' ,
164+ message :
165+ 'The response body schema must reference a schema with a Request suffix. http://go/ipa-spectral#IPA-106' ,
164166 path : [ 'paths' , '/resource' , 'post' , 'requestBody' , 'content' , 'application/vnd.atlas.2024-01-01+json' ] ,
165167 severity : DiagnosticSeverity . Warning ,
166168 } ,
167169 {
168170 code : 'xgen-IPA-106-create-method-request-body-is-request-suffixed-object' ,
169- message : 'The response body schema must reference a schema with a Request suffix. http://go/ipa-spectral#IPA-106' ,
171+ message :
172+ 'The response body schema must reference a schema with a Request suffix. http://go/ipa-spectral#IPA-106' ,
170173 path : [ 'paths' , '/resourceTwo' , 'post' , 'requestBody' , 'content' , 'application/vnd.atlas.2023-01-01+json' ] ,
171174 severity : DiagnosticSeverity . Warning ,
172175 } ,
173176 {
174177 code : 'xgen-IPA-106-create-method-request-body-is-request-suffixed-object' ,
175- message : 'The response body schema must reference a schema with a Request suffix. http://go/ipa-spectral#IPA-106' ,
178+ message :
179+ 'The response body schema must reference a schema with a Request suffix. http://go/ipa-spectral#IPA-106' ,
176180 path : [ 'paths' , '/resourceTwo' , 'post' , 'requestBody' , 'content' , 'application/vnd.atlas.2024-01-01+json' ] ,
177181 severity : DiagnosticSeverity . Warning ,
178182 } ,
179183 {
180184 code : 'xgen-IPA-106-create-method-request-body-is-request-suffixed-object' ,
181- message : 'The response body schema is defined inline and must reference a predefined schema. http://go/ipa-spectral#IPA-106' ,
185+ message :
186+ 'The response body schema is defined inline and must reference a predefined schema. http://go/ipa-spectral#IPA-106' ,
182187 path : [ 'paths' , '/resourceThree' , 'post' , 'requestBody' , 'content' , 'application/vnd.atlas.2023-01-01+json' ] ,
183188 severity : DiagnosticSeverity . Warning ,
184189 } ,
0 commit comments