Part-DB.Part-DB-server/config/packages/api_platform.yaml

26 lines
634 B
YAML
Raw Normal View History

2023-08-06 00:42:34 +02:00
api_platform:
title: 'Part-DB API'
description: 'API of Part-DB'
version: '0.1.0'
# eager_loading:
# max_joins: 100
swagger:
api_keys:
# overridden in OpenApiFactoryDecorator
access_token:
name: Authorization
type: header
defaults:
2023-10-06 13:00:13 +02:00
# TODO: Change this to true later. In the moment it is false, because we use the session in somewhere
stateless: false
cache_headers:
vary: ['Content-Type', 'Authorization', 'Origin']
extra_properties:
standard_put: true
pagination_client_items_per_page: true # Allow clients to override the default items per page