2023-08-06 00:42:34 +02:00
|
|
|
api_platform:
|
|
|
|
|
|
|
|
title: 'Part-DB API'
|
|
|
|
description: 'API of Part-DB'
|
|
|
|
|
2023-08-16 00:13:01 +02:00
|
|
|
version: '0.1.0'
|
|
|
|
|
2023-09-18 23:38:06 +02:00
|
|
|
# eager_loading:
|
|
|
|
# max_joins: 100
|
|
|
|
|
2023-08-16 00:13:01 +02:00
|
|
|
swagger:
|
|
|
|
api_keys:
|
|
|
|
# overridden in OpenApiFactoryDecorator
|
|
|
|
access_token:
|
|
|
|
name: Authorization
|
2023-09-18 13:02:45 +02:00
|
|
|
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
|
|
|
|
|
2023-09-18 13:02:45 +02:00
|
|
|
pagination_client_items_per_page: true # Allow clients to override the default items per page
|