bastion-dev / Bastion

Java test library for HTTP APIs
http://bastion.rocks
GNU General Public License v3.0
13 stars 8 forks source link

Make JsonSchemaAssertions check for JSON content-type #59

Closed KPull closed 7 years ago

KPull commented 7 years ago

The JsonSchemaAssertions object does not assert for application/json in the content-type header. It should behave similar to JsonResponseAssertion in that it checks that the content-type is application/json. It should also allow the user to override the expected content-type using overrideContentType().

KPull commented 7 years ago

@maria-camenzuli, want to take a look at this? :)

mariacamenzuli commented 7 years ago

Yes, I will.

KPull commented 7 years ago

Fixed in #65.