Package

de.leanovate.swaggercheck

simple

Permalink

package simple

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

Type Members

  1. type SimpleOperationVerifier = OperationValidator[SimpleRequest, SimpleResponse]

    Permalink
  2. case class SimpleRequest(method: String, path: String, queryParameters: Seq[(String, String)], headers: Seq[(String, String)], body: Option[CheckJsValue]) extends Product with Serializable

    Permalink

    Simple request object implementation.

    Simple request object implementation.

    This is not supposed to be (or become) a web framework. Just a convenient fallback that could be used without any extra dependencies.

    method

    the request method (i.e. GET, POST, PUT ...)

    path

    the request path (without query string)

    queryParameters

    the query parameters

    headers

    the request headers

    body

    the request body (makes only sense for certain methods)

  3. case class SimpleResponse(status: Int, headers: Map[String, String], body: String) extends Product with Serializable

    Permalink

    Simple response object implementation.

    Simple response object implementation.

    This is not supposed to be (or become) a web framework. Just a convenient fallback that could be used without any extra dependencies.

    status

    the response status code (i.e. 200, 201, ...)

    headers

    the response headers

    body

    the response body

Value Members

  1. object SimpleRequest extends Serializable

    Permalink
  2. object SimpleResponse extends Serializable

    Permalink
  3. implicit val requestCreator: RequestCreator[SimpleRequest]

    Permalink
  4. implicit val responseExtrator: ResponseExtractor[SimpleResponse]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped