Download the PHP package bcastellano/json-schema-bundle without Composer
On this page you can find all versions of the php package bcastellano/json-schema-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bcastellano/json-schema-bundle
More information about bcastellano/json-schema-bundle
Files in bcastellano/json-schema-bundle
Package json-schema-bundle
Short Description Symfony bundle to validate json api request and responses with json-schema
License MIT
Informations about the package json-schema-bundle
Json-Schema Bundle
Symfony bundle to validate json api requests and responses based on JSON Schema specification.
It auto validates Requests and Responses for an API with json-schema files that can be auto generated from json body.
JSON Schema is described in its specification as:
JSON Schema is a JSON media type for defining the structure of JSON data. JSON Schema provides a contract for what JSON data is required for a given application and how to interact with it. JSON Schema is intended to define validation, documentation, hyperlink navigation, and interaction control of JSON data.
Features
- Json Schema service for validate jsons
- Listener to auto validate request and responses
- Json Schema file generation from json body (request and responses content)
Installation
Composer:
Load the bundle:
Configuration
This is a complete example of configuration parameters:
License
This bundle is under the MIT License
All versions of json-schema-bundle with dependencies
symfony/config Version ~2.3|~3.0
symfony/yaml Version ~2.3|~3.0
symfony/http-kernel Version ~2.3|~3.0
symfony/dependency-injection Version ~2.3|~3.0
symfony/http-foundation Version ~2.3|~3.0
symfony/filesystem Version ~2.3|~3.0
symfony/process Version ~2.3|~3.0
justinrainbow/json-schema Version ^3.0