API design

Lint and compare OpenAPI documents

Open the APIs section and choose Open API document. Paste an OpenAPI 3.0 or 3.1 document, in JSON or YAML, or choose a file. The document has three tabs:

porticol-cli lint and porticol-cli diff do the same in CI, and exit with a code of their own when a document has an error or breaks the earlier version; see the command line reference.

Git sync

Link a collection to a folder in a Git repository, from the collection's Git tab, to keep it and the workspace's environments there as readable files. Secret values never go into the files; they stay on this computer.

From the same tab, commit, push, pull, make a branch and switch between branches. A pull merges item by item, and a change made both here and on the remote opens in the compare view, where you keep yours, the remote's or both. The remote's access token is kept in your keychain. Git sync is in the desktop app only.