@@ -11,19 +11,19 @@ functions:
1111rules :
1212 xgen-IPA-106-create-method-request-body-is-request-suffixed-object :
1313 description : >-
14- The Create method request should be a Request suffixed object. http://go/ipa/106
14+ The Create method request should be a Request suffixed object.
1515 This rule applies only to POST requests targeting resource collection URIs.
16- message : ' {{error}} http ://go/ipa/ 106'
16+ message : ' {{error}} https ://mdb.link/mongodb-atlas-openapi-validation#xgen-IPA- 106-create-method-request-body-is-request-suffixed-object '
1717 severity : warn
1818 given : ' $.paths[*].post.requestBody.content'
1919 then :
2020 field : ' @key'
2121 function : ' createMethodRequestBodyIsRequestSuffixedObject'
2222 xgen-IPA-106-create-method-should-not-have-query-parameters :
2323 description : >-
24- Create operations should not use query parameters. http://go/ipa/106
24+ Create operations should not use query parameters.
2525 This rule applies only to POST requests targeting resource collection URIs.
26- message : ' {{error}} http ://go/ipa/ 106'
26+ message : ' {{error}} https ://mdb.link/mongodb-atlas-openapi-validation#xgen-IPA- 106-create-method-should-not-have-query-parameters '
2727 severity : warn
2828 given : ' $.paths[*].post'
2929 then :
@@ -32,10 +32,10 @@ rules:
3232 ignoredValues : ['pretty', 'envelope']
3333 xgen-IPA-106-create-method-request-body-is-get-method-response :
3434 description : >-
35- Request body content of the Create method and response content of the Get method should refer to the same resource. http://go/ipa/106
35+ Request body content of the Create method and response content of the Get method should refer to the same resource.
3636 readOnly/writeOnly properties will be ignored.
3737 This rule applies only to POST requests targeting resource collection URIs.
38- message : ' {{error}} http ://go/ipa/ 106'
38+ message : ' {{error}} https ://mdb.link/mongodb-atlas-openapi-validation#xgen-IPA- 106-create-method-request-body-is-get-method-response '
3939 severity : warn
4040 given : ' $.paths[*].post.requestBody.content'
4141 then :
@@ -45,19 +45,19 @@ rules:
4545 ignoredValues : ['readOnly', 'writeOnly']
4646 xgen-IPA-106-create-method-request-has-no-readonly-fields :
4747 description : >-
48- Create method Request object must not include fields with readOnly:true. http://go/ipa/106
48+ Create method Request object must not include fields with readOnly:true.
4949 This rule applies only to POST requests targeting resource collection URIs.
50- message : ' {{error}} http ://go/ipa/ 106'
50+ message : ' {{error}} https ://mdb.link/mongodb-atlas-openapi-validation#xgen-IPA- 106-create-method-request-has-no-readonly-fields '
5151 severity : warn
5252 given : ' $.paths[*].post.requestBody.content'
5353 then :
5454 field : ' @key'
5555 function : ' createMethodRequestHasNoReadonlyFields'
5656 xgen-IPA-106-create-method-response-code-is-201 :
5757 description : >-
58- Create methods must return a 201 Created response code. http://go/ipa/106
58+ Create methods must return a 201 Created response code.
5959 This rule applies only to POST requests targeting resource collection URIs.
60- message : ' {{error}} http ://go/ipa/ 106'
60+ message : ' {{error}} https ://mdb.link/mongodb-atlas-openapi-validation#xgen-IPA- 106-create-method-response-code-is-201 '
6161 severity : warn
6262 given : ' $.paths[*].post'
6363 then :
0 commit comments