Skip to content
quarry Artifact [7090f256f1]
Login

Artifact [7090f256f1]

Artifact 7090f256f1eefc58dc448ee31767aa87b38ea3a3b79c9445e443140fb9ff8cc7:

Ticket change [7090f256f1] - New ticket [c164c63687] Serve an interactive OpenAPI page instead of the flat API doc. by dmestas on 2026-08-18 19:56:50.
D 2026-08-18T19:56:50.065
J cmimetype text/x-markdown
J comment `/docs`\srenders\sthe\sregistry\sas\sflat\smarkdown.\sThe\sregistry\salready\semits\sa\sreal\sOpenAPI\sdocument\s(0001\s§9:\sone\sregistry\sserves\sHTML,\sJSON\sand\sOpenAPI),\sso\sthe\sdata\sfor\sa\sbrowsable,\stry-it\spage\sexists\s—\sonly\sthe\spresentation\sis\smissing.\sdagnats\sdoes\sthis\swell\sand\sis\sworth\scopying\sfrom.\n\n##\sThe\sthing\sto\sdecide\sfirst\n\nEvery\smainstream\srenderer\s—\sSwagger\sUI,\sRedoc,\sScalar,\sElements\s—\sis\sa\slarge\sJavaScript\sbundle.\squarry\sallows\sexactly\sONE\sscript,\sthe\svendored\sDatastar\smodule,\sand\sno\sexternal\shosts\sat\sall\s(the\sprivacy\spage\sstates\sthat\sas\sa\sfact\sabout\sthis\ssoftware).\sSo\sthis\sis\snot\sa\s"pick\sa\slibrary"\stask;\sit\sis\sa\schoice\sbetween:\n\n-\s**Vendor\sa\srenderer.**\sSelf-contained,\sno\sexternal\shost,\sbut\sit\sis\sa\ssecond\sscript\sand\sa\slarge\sone,\sand\sit\smakes\sthe\sone-script\srule\sa\stwo-script\srule\swith\sno\sobvious\sstopping\spoint\safter\sthat.\n-\s**Render\sit\sserver-side.**\sExpand\sthe\sdoc\spage\sinto\sper-operation\ssections\swith\sparameters,\sschemas,\sand\sexample\srequests,\sgenerated\sfrom\sthe\ssame\sregistry\sdata.\sNo\snew\sscript,\sand\sit\sworks\swith\sJavaScript\soff\s—\sbut\s"try\sit"\sthen\smeans\sa\sform\sthat\sposts\sto\sthe\sreal\sendpoint\srather\sthan\sa\sclient-side\sconsole.\n-\s**Serve\sthe\sspec\sand\sstop.**\sPublish\s`/openapi.json`\sand\slet\sreaders\spoint\stheir\sown\stooling\sat\sit.\sSmallest\spossible\schange,\sand\sarguably\sthe\smost\suseful\sfor\sanyone\sactually\sintegrating.\n\nThe\sthird\sis\sworth\sdoing\sregardless\sand\simmediately\s—\sa\smachine-readable\sspec\sat\sa\sstable\sURL\scosts\snothing\sand\sis\swhat\san\sintegrator\sactually\swants.\sThe\ssecond\sis\sthe\sone\sthat\sfits\sthis\scodebase.\sRecommend\sboth,\sand\streat\svendoring\sa\srenderer\sas\sa\sdeliberate\sexception\sto\sbe\sargued\sfor\sseparately\srather\sthan\ssmuggled\sin\swith\sa\sUI\sticket.
J severity Minor
J status Open
J title Serve\san\sinteractive\sOpenAPI\spage\sinstead\sof\sthe\sflat\sAPI\sdoc
J type Feature_Request
K c164c63687d04d5af47842e2de6c0fbdc2ad0e30
U dmestas
Z 21cf297bd543f473c95ab5324a04cc74