Use the following command to generate the document

  aqueduct document client
Copy the code

Code integration

router.route("/swagger").linkFunction((request) async { final html = await File('client.html').readAsString(); return Response.ok(html).. contentType = ContentType.html; });Copy the code

See complete video tutorial B station www.bilibili.com/video/av629…