class ParametersNormalizationStage extends ResolutionStage
Place parameter models in the right locations according to the RAML/OpenAPI specs and our own criterium for AMF
- Alphabetic
- By Inheritance
- ParametersNormalizationStage
- ResolutionStage
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ParametersNormalizationStage(profile: ProfileName)(implicit errorHandler: ErrorHandler)
- profile
target profile
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def defaultServerParameters(webApi: WebApi): Seq[Parameter]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
val
errorHandler: ErrorHandler
- Definition Classes
- ParametersNormalizationStage → ResolutionStage
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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
-
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
-
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
-
def
resolve[T <: BaseUnit](model: T): T
- Definition Classes
- ParametersNormalizationStage → ResolutionStage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )