knplabs / json-schema-bundle
A bundle to generate json schema based on various metadata
Installs: 13 038
Dependents: 0
Suggesters: 0
Security: 0
Stars: 72
Watchers: 34
Forks: 25
Open Issues: 7
Requires
- php: >=5.3
- doctrine/common: ~2.3
- justinrainbow/json-schema: >=1.2.2
- symfony/finder: ~2.3
- symfony/form: ~2.3
- symfony/framework-bundle: ~2.3
- symfony/validator: ~2.3
Requires (Dev)
- phpspec/phpspec: ~2.0
This package is auto-updated.
Last update: 2022-09-23 13:38:50 UTC
README
Unfortunately we decided to not maintain this project anymore (see why). If you want to mark another package as a replacement for this one please send an email to hello@knplabs.com.
Disclaimer
This bundle is under development.
KnpJsonSchema Bundle
This Symfony bundle offers support for creating JSON Schema definition from Doctrine ORM entities. 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.
This bundle provides a service which allows you to generate JSON Schema based on the metadata for your entities, including it's schema and validation information.
Documentation
License
This bundle is under the MIT License