package stages
- Alphabetic
- Public
- All
Type Members
-
case class
DomainElementMerging()(implicit ctx: RamlWebApiContext) extends Product with Serializable
Merge 'other' element into 'main' element: 1) 'main' node properties are inspected and those that are undefined in 'other' node remain unchanged.
Merge 'other' element into 'main' element: 1) 'main' node properties are inspected and those that are undefined in 'other' node remain unchanged. 2) 'main' node receives all properties of 'other' node (excluding optional ones), which are undefined in the 'main' node. 3) Properties defined in both 'main' node and 'other' node (including optional ones) are treated as follows: a) Scalar properties remain unchanged. b) Collection properties are merged by value. c) Values of object properties are subjected to steps 1-3 of this procedure.
-
class
ExamplesResolutionStage extends ResolutionStage
Apply response examples to payloads schemas matching by media type
Apply response examples to payloads schemas matching by media type
MediaTypeResolution and Shape Normalization stages must already been run for mutate each payload schema
-
class
MediaTypeResolutionStage extends ResolutionStage
Apply root and operation mime types to payloads.
Apply root and operation mime types to payloads.
Request payloads will have as default mime type the 'accepts' field. Response payloads will have as default mime type the 'contentType' field.
-
class
ParametersNormalizationStage extends ResolutionStage
Place parameter models in the right locations according to the RAML/OpenAPI specs and our own criterium for AMF
- class SecurityResolutionStage extends ResolutionStage
Value Members
-
object
DataNodeMerging
Merge two data nodes of the same type.
Merge two data nodes of the same type. This merging applies the 'other' side as an overlay to the 'main' side.