Catalog and Projects: eight small fixes on the core journey
The Catalog and Projects usability audit left eight small defects on the path from import to publish. Each one is fixed.
The Catalog and Projects usability audit left eight small defects on the path from import to publish. Each one is fixed.
We walked the whole Catalog and Projects journey (import, convert to a project, cut a version, publish, export) at 1440 and 1024 pixels wide, in the light and dark themes. Seven defects are fixed in this release. The rest are scheduled for this release candidate.
Comparisons now read each version's OpenAPI document from the document store instead of generating it on every request. A second comparison of two large versions no longer reads their classes, properties and paths.
The flow diagrams on Convert a catalog item to OpenAPI and Read a catalog item's format details now render as diagrams, in light and dark mode, instead of showing their Mermaid source.
The document store now cleans up after itself and proves what it holds is unchanged. Revisions share stored files, so Apiome counts which live revisions use each file and deletes it only when none does.
The database now keeps a record of the documents in the document store, and every revision has a content stamp that counts its content changes. This is groundwork for storing each revision's original file and caching its generated documents.
Apiome now keeps every imported original and every rendered document as an immutable
object in a document store: an S3-compatible bucket in production, a
directory for development, or the database when nothing is configured. Classes, properties and
paths stay in Postgres, where they are edited. Diffs, downloads, exports and /v1/schema read the
stored bytes instead of building the document again on every request.
Operators can now see which document store the REST API uses and whether it works, without reading the server's environment. A store that cannot be used stops the REST API at startup with a message that says what to fix.
The REST API has a document store: one place for large files that never change, with three backends an operator chooses by environment variable.
Every import keeps the file it read. You can now get that file back, and compare two of them line by line.