- Fix bug on handling empty request body handling (e.g. GET)
- Fix error when request body is an Array in JSON
- Separate :strict option into 2 other options
- Allow non JSON Content-Type response on empty body
- Support rails-style path format on link detection
- Skip content_type check if strict mode is turned off (thx @tomoya55)
- Improve error message on LinkNotFound (thx @take)
- Skip response validation on 3xx response
- Add :strict option to ignore undefined link
- Check Content-Type on response validation
- Skip validation of non-json request
- Validate request parameters in URI query too
- Support an empty array response at response validation
- Skip response validation if response code is 4xx or 5xx
- GET /docs returns HTML
- Accepts GET /docs.md
- Improve list detection logic
- Declare charset=utf-8 in response content type
- Return example of array property
- Remove dependency on multi_json
- Bundled all middlewares into
specup
executable command
- Add Rack::JsonSchema::SchemaProvider
- Rename: rack-spec -> rack-json_schema
- Add Rack::JsonSchema::Docs
- Reveal
Rack::JsonSchema::Schema#links
- Support YAML schema at
specup
- Add
specup
executable
- Add Rack::JsonSchema::Mock
- Prettify response JSON
- Array response support of Rack::JsonSchema::ResponseValidation
- Change Content-Type validation policy
- Add Rack::JsonSchema::ResponseValidation
- Add ErrorHandler rack middleware for building error response
- Rebuilt entire code based on JSON schema
- Change RESTful resource API (#get, #post, #put, and #delete)
- Add Rack::JsonSchema::Restful, strongly conventional RESTful API Provider
- Add a new constraint: required
- More DRY way for validator definition
- Change key name: queryParameters -> parameters
- Add a new constraint: only
- Add a new constraint: minimumLength
- Add a new constraint: maxinumLength
- Add a new constraint: type
- Add a new constraint: minimum
- Add a new constraint: maxinum