package stages

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. 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.

  2. 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.

  3. class ParametersNormalizationStage extends ResolutionStage

    Place parameter models in the right locations according to the RAML/OpenAPI specs and our own criterium for AMF

  4. class PathDescriptionNormalizationStage extends ResolutionStage

    Applies summary and description defined in path item to all of its child operations

  5. class PayloadAndParameterResolutionStage extends ResolutionStage

    Propagate examples defined in parameters and payloads onto their corresponding shape so they are validated in the examples validation phase Only necessary for OAS 3.0 spec

  6. class ResponseExamplesResolutionStage 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

  7. class SecurityResolutionStage extends ResolutionStage
  8. class ServersNormalizationStage extends ResolutionStage

    Place server models in the right locations according to OAS 3.0 and our own criterium for AMF

Value Members

  1. 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.

  2. object MergingValidator

    Checks some conditions when merging some nodes

Ungrouped