Working session (note: Meeting) on what the contract import (note: Contract) reads and what it leaves to the notes (note: Note). Three participants: the maintainer (3 passages, no note), an author of the specifications (3 passages, no note) and the integrator (note: Integrator) of the wiki. The transcript of the session (3 passages, no note) sits next to these minutes and the build (note: Build) shows both on one page.
What was said
- An API note (note: API) that declares a contract gets one operation per operation (4 passages, no note) of the contract; the operation (4 passages, no note) matching rule (4 passages, no note) attaches each one to the operation note (note: Operation) that names the same operation id (3 passages, no note), or the same method (28 passages, no note) and path. The note absorbs the imported (27 passages, no note) operation, which never exists twice.
- An operation nobody wrote about keeps the properties (note: Attribute) of the contract only and is reported by the operation unmatched (note: Operation unmatched) check (note: Check), a warning, so that someone writes the note.
- The contract file lives next to its note, under
contracts/, and the fingerprint cache (note: Fingerprint cache) keeps its parsed (7 passages, no note) text between two builds. - A contract that cannot be fetched or parsed yields the contract unreachable (3 passages, no note) finding (note: Finding); the note keeps its hand-written operations and the build goes on.
Decision
The interactive (15 passages, no note) console (6 passages, no note) the specification (15 passages, no note) named for OpenAPI contracts is not used: it weighs more than the page budget (20 passages, no note), expects to fetch the contract over the network and offers to call the API from the page. The contract of an API is shown by a purpose-built contract viewer (note: Purpose-built contract viewer), an island (note: Island) rendered (33 passages, no note) from a JSON fragment (note: Fragment) of the contract, loaded on demand. The schemas (31 passages, no note) of the contract become candidate objects (4 passages, no note), listed on the to-do page (note: To-do page).