AsyncAPI Best Practices
asyncapi-servers
general > asyncapi-servers
Guidance / Message
A non-empty servers object is expected to be located at the root of the document.
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"
Applies to AsyncAPI