Package

net.jtownson.swakka

coreroutegen

Permalink

package coreroutegen

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

Type Members

  1. trait ConvertibleToDirective[T] extends AnyRef

    Permalink

    ConvertibleToDirective is a type class supporting the conversion of parameter entities (query params, path params, etc) into Akka-Http directives that extract the values of those entities.

    ConvertibleToDirective is a type class supporting the conversion of parameter entities (query params, path params, etc) into Akka-Http directives that extract the values of those entities. These Directives are composed by RouteGen into a single Route. The T type param is the parameter entity type (e.g. QueryParameter[Int]) The U type param is the extraction entity type (e.g. Int)

  2. trait CorsUseCase extends AnyRef

    Permalink
  3. trait CorsUseCases extends AnyRef

    Permalink
  4. case class CustomCors(accessControlAllowOrigin: String, accessControlAllowMethods: Seq[String], accessControlAllowHeaders: Seq[String]) extends CorsUseCase with Product with Serializable

    Permalink
    Definition Classes
    CorsUseCases
  5. case class DocRouteSettings(endpointPath: String = "/swagger.json", corsUseCase: CorsUseCase = NoCors) extends Product with Serializable

    Permalink
  6. trait Invoker[RequestParams] extends AnyRef

    Permalink

    Invoker provides the type plumbing to map the type of an input HList of Parameter[T] to that of a function accepting an argument list of the inner types of those Parameters.

    Invoker provides the type plumbing to map the type of an input HList of Parameter[T] to that of a function accepting an argument list of the inner types of those Parameters. For eg. if the input HList is QueryParameter[String] :: QueryParameter[Int] :: PathParameter[Boolean] :: HNil Invoker will define a dependent Function type (String, Int, Boolean) => R and call that function, returning the result, R (also a dependent type).

    AkkHttpInvoker is a specialization of Invoker where the return type of F is an akka Route.

  7. trait RouteGen[T] extends AnyRef

    Permalink

    RouteGen is a type class that supports the conversion of an OpenApi model into a Akka-Http Route.

    RouteGen is a type class that supports the conversion of an OpenApi model into a Akka-Http Route. This allows the processing of an HTTP request according to a Swagger definition. See also ConvertibleToDirective.

  8. case class SpecificallyThese(headers: Seq[HttpHeader]) extends CorsUseCase with Product with Serializable

    Permalink
    Definition Classes
    CorsUseCases

Value Members

  1. object ConvertibleToDirective

    Permalink
  2. val CorsHandledByProxyServer: CorsUseCase { def headers: scala.collection.immutable.Seq[Nothing] }

    Permalink
    Definition Classes
    CorsUseCases
  3. object Invoker

    Permalink
  4. val NoCors: CorsUseCase { def headers: scala.collection.immutable.Seq[Nothing] }

    Permalink
    Definition Classes
    CorsUseCases
  5. object RouteGen

    Permalink
  6. val SwaggerUiOnSameHostAsApplication: CorsUseCase { def headers: scala.collection.immutable.Seq[Nothing] }

    Permalink
    Definition Classes
    CorsUseCases
  7. object basePathDirective

    Permalink
  8. object hostDirective

    Permalink
  9. object optionalEntity

    Permalink
  10. object optionalFileUpload

    Permalink
  11. object schemesDirective

    Permalink

Inherited from CorsUseCases

Inherited from AnyRef

Inherited from Any

Ungrouped