Anypoint Best Practices
Ruleset with over 30 best practices for APIs
home
Anypoint Best Practices
This ruleset contains over 30 best practices for APIs to be used, maintained, and consumed across Anypoint Platform and beyond.
Rules in this Ruleset
Violations
- api-must-have-title
- base-url-pattern-server
- camel-case-fields
- define-path-params
- define-path-template-variables
- duplicated-entry-in-enum
- media-type-headers-response
- no-2xx-response
- no-eval-in-markdown
- no-script-tags-in-markdown
- operations-must-have-identifiers
- path-declarations-must-exist
- path-not-include-query
- provide-examples
- resource-use-lowercase
- use-schemas-requests
- use-schemas-responses
Warnings
- api-must-have-description
- api-must-have-documentation
- date-only-representation
- date-time-representation
- headers-must-have-descriptions
- heterogeneous-union
- nil-union-antipattern
- node-shapes-must-have-descriptions
- non-scalar-url-parameters
- not-anonymous-types
- open-schemas-ignored
- operations-must-have-descriptions
- path-keys-no-trailing-slash
- preferred-media-type-representations
- property-shape-ranges-must-have-descriptions
- query-params-must-have-descriptions
- request-response-antipattern
- responses-must-have-descriptions
- standard-delete-status-codes
- standard-get-status-codes
- standard-post-status-codes
- standard-put-status-codes
- unsupported-response-schema-shapes