Anypoint Best Practices

(14 reviews)

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

Constraint

Type: Declarative Validation

Reviews

TypeRuleset
OrganizationMuleSoft
Published by
MuleSoft Organization
Published onDec 11, 2023
Asset overview

Asset versions for 1.6.x

Asset versions
VersionActions
1.6.1
1.6.0

Tags