.. include:: /Includes.rst.txt .. _feature-1791637979: ================================================================ Feature: The messages of every package are described in AsyncAPI ================================================================ Description =========== Every package describes the messages it announces on the queues in ``asyncapi/asyncapi.yaml`` (AsyncAPI 3): name, version, queue, the header ``type`` that names a message and the JSON schema of its content. The documents are published with the API reference, so a program outside adsum can read the messages. A message whose fields are renamed or removed gets a new version, and the old one stays until a major release. Impact ====== Developers of other systems find the messages next to the HTTP API. Package authors write the document with ``bin/console adsum:dev-site:asyncapi``; a test fails when a message and its description differ. .. index:: Backend, Documentation, package:adsum-core, package:adsum-attendance, package:adsum-leave, package:adsum-working-time, package:adsum-projects, package:adsum-reporting, package:adsum-assets, package:adsum-ldap, package:adsum-testing, package:adsum-dev-site