mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
Add recipe for outcomer/symfony-json-schema-validation (#1923)
* Add recipe for outcomer/symfony-json-schema-validation * Add PHP and Symfony framework requirements to manifest.json * Refactor manifest.json to remove PHP and Symfony framework requirements * Remove Symfony version requirements from manifest.json
This commit is contained in:
committed by
GitHub
parent
7a32ad7955
commit
fd2b29af77
@@ -0,0 +1,12 @@
|
||||
outcomer_validation:
|
||||
# Path to your JSON Schema files
|
||||
schemas_path: '%kernel.project_dir%/config/validation/schemas'
|
||||
|
||||
# Base domain for auto-generated schema IDs
|
||||
schema_domain: 'https://example.com'
|
||||
|
||||
# Custom filters (optional)
|
||||
# Uncomment and add your custom filters here
|
||||
#filters:
|
||||
# uuid: App\Validation\Filter\UuidFilter
|
||||
# date: App\Validation\Filter\DateFilter
|
||||
17
outcomer/symfony-json-schema-validation/1.0/manifest.json
Normal file
17
outcomer/symfony-json-schema-validation/1.0/manifest.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Outcomer\\ValidationBundle\\OutcomerValidationBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"post-install-output": [
|
||||
"<bg=blue;fg=white> </>",
|
||||
"<bg=blue;fg=white> What's next? </>",
|
||||
"<bg=blue;fg=white> </>",
|
||||
"",
|
||||
" * <fg=blue>Configure</> your JSON Schema validation in <comment>config/packages/outcomer_validation.yaml</>",
|
||||
" * <fg=blue>Create</> your first schema in <comment>config/validation/schemas/</>",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://github.com/outcomer/symfony-json-schema-validation</>"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user