dmstr / openapi-json-schema-bundle
Symfony bundle for integrating JSON Schema validation with API Platform OpenAPI documentation via dynamic schema aggregation (SchemaRegistry with anyOf merging, #[JsonSchema] attribute, OperationInputSchemaResolver, JedisonGrid decorator).
Package info
github.com/dmstr/openapi-json-schema-bundle
Type:symfony-bundle
pkg:composer/dmstr/openapi-json-schema-bundle
0.1.0
2026-06-10 15:19 UTC
Requires
- php: >=8.2
- api-platform/json-schema: ^4.2
- api-platform/metadata: ^4.2
- psr/cache: ^3.0
- psr/log: ^3.0
- symfony/config: ^7.0
- symfony/dependency-injection: ^7.0
- symfony/framework-bundle: ^7.0
Suggests
- opis/json-schema: For file-based JSON schema validation
This package is auto-updated.
Last update: 2026-06-14 01:33:19 UTC
README
dmstr/openapi-json-schema-bundle
Inject JSON Schemas into OpenAPI documentation for API Platform.
Features (planned)
SchemaRegistry— merges provider schemas into a discriminatedanyOf#[JsonSchema]attribute — references entity-local JSON Schema filesOperationInputSchemaResolver— entity-local + path-fallback schema lookup- OpenAPI decorators:
JsonFieldSchemaDecorator,JedisonGridSchemaDecorator,OperationInputSchemaDecorator DumpSchemaCommand— CLI utility
License
MIT © diemeisterei GmbH