Package com.arc_e_tect.gradle.apionly.transcriberj.model
package com.arc_e_tect.gradle.apionly.transcriberj.model
The contract model: what a bundled OpenAPI 3 contract says, in the terms code
generation needs, and nothing that knows about Java, REST Docs or WireMock.
ContractParser builds a
ContractModel from a
contract the API-Only Subscriber fetched. The model keeps everything the
contract says about its components and operations: what it types, it types;
what it does not, it keeps as raw values and reports as a
Finding, so nothing is
dropped without a trace.
Values are immutable. An absent keyword is null; an empty one is empty.
-
ClassDescriptionThe value of
additionalProperties: a boolean, or a schema.A channel of an AsyncAPI contract: an address messages travel over.A message a channel carries, as an AsyncAPI bundle inlines it.An operation of an AsyncAPI contract: an application sending or receiving on a channel.RFC 8785, the JSON Canonicalization Scheme, over the maps, lists and scalars a YAML or JSON parser produces.A schema component.The value of aconstkeyword.A schema's validation keywords.A construct the model classifies wherever it occurs, so that its treatment in generated code is reported rather than discovered.A bundled contract, in the terms code generation needs: its OpenAPI document, and its AsyncAPI document where it has one, as one model.A document that is not a bundled OpenAPI 3 contract the model can be built from.Builds aContractModelfrom a bundled OpenAPI 3 contract.Adiscriminator.One occurrence of a classified construct.The HTTP methods an OpenAPI path item can hold an operation for.One entry of acontentmap.One operation: a method on a path.An operation or path-item parameter.One entry ofpaths.Where a component came from.A$refwritten where a parameter, request body or response would be.An operation's request body.One response of an operation.Reusable<T>A reusable component other than a schema: a response, parameter or request body.A JSON Schema, as a bundled contract writes it.What code generation does with a classified construct.