ref faststream.specification.asyncapi.utils.ref # ref(*parts: str) -> dict[str, str] Source code in faststream/specification/asyncapi/utils.py 52 53def ref(*parts: str) -> dict[str, str]: return {"$ref": "#/" + "/".join(_encode_json_pointer_part(p) for p in parts)}