Documentation ¶
Index ¶
- func ContentSchema(schema *api.Schema, log contract.Logger) contract.Expectation
- func ContentType(v string, log contract.Logger) contract.Expectation
- func HeaderRequired(n string, log contract.Logger) contract.Expectation
- func HeaderSchema(n string, schema *api.Schema, log contract.Logger) contract.Expectation
- func JSONBody(props contract.Set, graph gcontract.Graph, log contract.Logger) contract.Expectation
- func Status(status int, log contract.Logger) contract.Expectation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContentSchema ¶
ContentSchema creates an expectation as for response's body structure which must comply to the provided JSON schema.
func ContentType ¶
func ContentType(v string, log contract.Logger) contract.Expectation
ContentType creates an expectation as for response's content type.
func HeaderRequired ¶
func HeaderRequired(n string, log contract.Logger) contract.Expectation
HeaderRequired creates an expectation as for response's header value.
func HeaderSchema ¶
HeaderSchema creates an expectation as for response's header contents which must comply to the provided JSON schema.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.