AsyncAPI Best Practices

(0 reviews)

asyncapi-server-no-trailing-slash

general > asyncapi-server-no-trailing-slash


Guidance

The server URL should not have a trailing slash.

Some tooling forgets to strip trailing slashes off when it's joining the servers.url with channels, and you can

get awkward URLs like mqtt://example.com/broker//pets. Best to just strip them off yourself.

Applies to Server

Constraint

Type: Declarative Validation

Reviews

TypeRuleset
OrganizationMuleSoft
Published by
MuleSoft Organization
Published onJul 14, 2022
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.0