Anypoint Best Practices
resource-use-lowercase
general > resource-use-lowercase
Guidance
Naming conventions for resources:
- Use lowercase (example: /accounts)
- For resources with more than 2 words
- use lowercase for both words (example: /lineitems) or
- use kebab-case (aka spinal-case) (example: /line-items)
Message
'{{apiContract.path}}' should be lowercase.
Examples
valid
/events-get:
get:
description: Gets a stream of report results
responses:
200:
description: Ok!
invalid
/Events-Get:
get:
description: Gets a stream of report results
responses:
200:
description: Ok!
Applies to EndPoint