trait SwaggerSupportSyntax extends Initializable with CorsSupport

Self Type
SwaggerSupportSyntax with ScalatraBase with SwaggerSupportBase
Linear Supertypes
CorsSupport, Handler, Initializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SwaggerSupportSyntax
  2. CorsSupport
  3. Handler
  4. Initializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait Config extends AnyRef
    Definition Classes
    Initializable
  2. abstract type ConfigT
    Definition Classes
    Initializable
  3. implicit class ResponseMessageWithModel extends AnyRef

Abstract Value Members

  1. abstract def apiOperation[T](nickname: String)(implicit arg0: Manifest[T], arg1: NotNothing[T]): OperationBuilder
    Attributes
    protected
  2. abstract def applicationDescription: String
    Attributes
    protected
  3. implicit abstract def configWrapper(config: (SwaggerSupportSyntax.this)#ConfigT): (SwaggerSupportSyntax.this)#Config
    Attributes
    protected
    Definition Classes
    Initializable
  4. implicit abstract def swagger: SwaggerEngine
    Attributes
    protected

Concrete 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 augmentSimpleRequest(): Unit
    Attributes
    protected
    Definition Classes
    CorsSupport
  6. def bodyParam(name: String, model: Model): ModelParameterBuilder
    Attributes
    protected
  7. def bodyParam[T](name: String)(implicit arg0: Manifest[T], arg1: NotNothing[T]): ParameterBuilder[T]
    Attributes
    protected
  8. def bodyParam(model: Model): ModelParameterBuilder
    Attributes
    protected
  9. def bodyParam[T](implicit arg0: Manifest[T], arg1: NotNothing[T]): ParameterBuilder[T]
    Attributes
    protected
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  11. implicit def dataType2string(dt: DataType): String
  12. def description(f: PartialFunction[String, String]): Unit
    Attributes
    protected
  13. def endpoint(value: String): RouteTransformer
    Attributes
    protected
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def formParam(name: String, model: Model): ModelParameterBuilder
    Attributes
    protected
  17. def formParam[T](name: String)(implicit arg0: Manifest[T], arg1: NotNothing[T]): ParameterBuilder[T]
    Attributes
    protected
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  19. def handle(req: HttpServletRequest, res: HttpServletResponse): Unit
    Definition Classes
    CorsSupport → Handler
  20. def handlePreflightRequest(): Unit
    Attributes
    protected
    Definition Classes
    CorsSupport
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  22. def headerParam(name: String, model: Model): ModelParameterBuilder
    Attributes
    protected
  23. def headerParam[T](name: String)(implicit arg0: Manifest[T], arg1: NotNothing[T]): ParameterBuilder[T]
    Attributes
    protected
  24. def inferSwaggerEndpoint(route: Route): String
    Attributes
    protected
  25. def initialize(config: (SwaggerSupportSyntax.this)#ConfigT): Unit

    Initializes the kernel.

    Initializes the kernel. Used to provide context that is unavailable when the instance is constructed, for example the servlet lifecycle. Should set the config variable to the parameter.

    config

    the configuration.

    Definition Classes
    SwaggerSupportSyntax → CorsSupport → Initializable
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def models: Map[String, Model]

    The currently registered model descriptions for swagger

    The currently registered model descriptions for swagger

    returns

    a map of swagger models

  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  31. def operation(op: Operation): RouteTransformer
    Attributes
    protected
  32. implicit def parameterBuilder2parameter(pmb: SwaggerParameterBuilder): Parameter
  33. def pathParam(name: String, model: Model): ModelParameterBuilder
    Attributes
    protected
  34. def pathParam[T](name: String)(implicit arg0: Manifest[T], arg1: NotNothing[T]): ParameterBuilder[T]
    Attributes
    protected
  35. def queryParam(name: String, model: Model): ModelParameterBuilder
    Attributes
    protected
  36. def queryParam[T](name: String)(implicit arg0: Manifest[T], arg1: NotNothing[T]): ParameterBuilder[T]
    Attributes
    protected
  37. def registerModel[T]()(implicit arg0: Manifest[T], arg1: NotNothing[T]): Unit

    Registers a model for swagger, this method reflects over the class and collects all non-primitive classes and adds those to the swagger defintion

    Registers a model for swagger, this method reflects over the class and collects all non-primitive classes and adds those to the swagger defintion

    T

    the class of the model to register

    Attributes
    protected
  38. def registerModel(model: Model): Unit

    Registers a model for swagger

    Registers a model for swagger

    model

    the model to add to the swagger definition

    Attributes
    protected
  39. def shutdown(): Unit
    Attributes
    protected
    Definition Classes
    Initializable
  40. def swaggerAuthorizations: List[String]
    Attributes
    protected
  41. def swaggerConsumes: List[String]
    Attributes
    protected
  42. def swaggerDefaultMessages: List[ResponseMessage]
    Attributes
    protected
  43. def swaggerEndpointEntries(extract: (Route, HttpMethod) => Operation): Iterable[Entry]
    Attributes
    protected
  44. def swaggerMeta(s: Symbol, v: Any): RouteTransformer
    Attributes
    protected
  45. def swaggerProduces: List[String]
    Attributes
    protected
  46. def swaggerProtocols: List[String]
    Attributes
    protected
  47. def swaggerTag: Option[String]
    Attributes
    protected
  48. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  49. def toString(): String
    Definition Classes
    AnyRef → Any
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from CorsSupport

Inherited from Handler

Inherited from Initializable

Inherited from AnyRef

Inherited from Any

Ungrouped