asyncapi-info-license
asyncapi-info-license requires the document to declare license information.
Why did this violation appear?
The root info.license object is missing.
Bad example
asyncapi: 3.1.0
info:
title: User events
version: 1.0.0
Good example
asyncapi: 3.1.0
info:
title: User events
version: 1.0.0
description: Events emitted by the user lifecycle service.
contact:
name: API Platform
url: https://example.com/support
email: api@example.com
license:
name: MIT
url: https://opensource.org/licenses/MIT
How do I fix this violation?
Add a license object with at least the license name. Include a URL when the contract is published for external consumers.
