AsyncAPI Best Practices

(0 reviews)

asyncapi-server-not-example-com

general > asyncapi-server-not-example-com


Guidance / Message

Server URL should not point at example.com.

Examples

valid

asyncapi: 2.0.0
info:
  title: example API
  version: "1.0.0"
servers:
  production:
    url: "amqp://someserver.com"
    protocol: amqp
    description: Production server

invalid

asyncapi: 2.0.0
info:
  title: example API
  version: "1.0.0"
    servers:
production:
  url: "amqp://example.com"
  protocol: amqp
  description: Production server

Applies to Server

Constraint

Type: Declarative Validation

Reviews

TypeRuleset
OrganizationMuleSoft
Published by
MuleSoft Organization
Published onNov 29, 2023
Asset overview

Asset versions for 1.1.x

Asset versions
VersionActions
1.1.0

Tags