Files
core/config/packages/api_platform.yaml

17 lines
520 B
YAML

api_platform:
enable_swagger_ui: false # route redirected manually to /bolt/api
graphql:
graphiql:
enabled: true
mapping:
paths: ['%kernel.project_dir%/src/Entity']
formats:
json: ['application/json']
jsonld: ['application/ld+json']
jsonapi: ['application/vnd.api+json']
# html: ['text/html']
defaults:
pagination:
client_items_per_page: true
items_per_page_parameter_name: 'pageSize'