c

amf.plugins.domain.webapi.resolution.stages

ParametersNormalizationStage

class ParametersNormalizationStage extends ResolutionStage

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

Linear Supertypes
ResolutionStage, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParametersNormalizationStage
  2. ResolutionStage
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ParametersNormalizationStage(profile: ProfileName)(implicit errorHandler: ErrorHandler)

    profile

    target profile

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def defaultServerParameters(webApi: WebApi): Seq[Parameter]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. implicit val errorHandler: ErrorHandler
    Definition Classes
    ParametersNormalizationStage → ResolutionStage
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  17. def parametersAmf(unit: BaseUnit): BaseUnit

    In AMF we push all the parameters at the operation level.

    In AMF we push all the parameters at the operation level. Parameter references should be already resolved in previous steps.

    unit

    BaseUnit in

    returns

    unit BaseUnit out

    Attributes
    protected
  18. def parametersOpenApi(unit: BaseUnit): BaseUnit

    In OpenAPI we just push the endpoint parameters to the operation level, overwriting the any endpoint parameter with the new definition at the operation level

    In OpenAPI we just push the endpoint parameters to the operation level, overwriting the any endpoint parameter with the new definition at the operation level

    unit

    BaseUnit in

    returns

    unit BaseUnit out

    Attributes
    protected
  19. def parametersRaml10(unit: BaseUnit): BaseUnit

    In RAML we assign the parameters at the right level according to the RAML spec: - webapi for baseURI parameters - endpoint for the path parameters - operation for the query, path and header parameters Since parameters can be at any level due to the source of the model being an OpenAPI document

    In RAML we assign the parameters at the right level according to the RAML spec: - webapi for baseURI parameters - endpoint for the path parameters - operation for the query, path and header parameters Since parameters can be at any level due to the source of the model being an OpenAPI document

    unit

    BaseUnit in

    returns

    unit BaseUnit out

    Attributes
    protected
  20. def resolve[T <: BaseUnit](model: T): T
    Definition Classes
    ParametersNormalizationStage → ResolutionStage
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ResolutionStage

Inherited from AnyRef

Inherited from Any

Ungrouped