Copyright | (c) Rodrigo Setti 2017 |
---|---|
License | BSD3 |
Maintainer | rodrigosetti@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module exposes some types that ure used across other modules of swagger-test.
- type FullyQualifiedHost = String
- type Seed = Int
- type Size = Int
- data NormalizedSwagger
- getSwagger :: NormalizedSwagger -> Swagger
- type OperationId = Text
- type HttpHeader = (CI Text, Text)
- type Headers = [HttpHeader]
- data HttpRequest = HttpRequest {}
- data HttpResponse = HttpResponse {}
- refToMaybe :: Referenced a -> Maybe a
Documentation
type FullyQualifiedHost = String Source #
The FullyQualifiedHost contains the scheme (i.e. http://), hostname and port.
type OperationId = Text Source #
type Headers = [HttpHeader] Source #
refToMaybe :: Referenced a -> Maybe a Source #
Transform a reference into a Just value if is inline, Nothing, otherwise