Inject JSON Schemas into OpenAPI documentation for API Platform.
SchemaRegistry— merges provider schemas into a discriminatedanyOf. Without registered providers, the unified schema is the boolean schemafalse, which rejects every input.#[JsonSchema]attribute — references entity-local JSON Schema filesOperationInputSchemaResolver— entity-local + path-fallback schema lookupInputSchemaValidator— validates operation input (raw request body or decoded CLI options) against the schema the resolver chain returns: 400 for malformed JSON, 422 for a schema violation- OpenAPI decorators:
JsonFieldSchemaDecorator,JedisonGridSchemaDecorator,OperationInputSchemaDecorator DumpSchemaCommand— CLI utility
MIT © diemeisterei GmbH