Files
crowd-fund-api/config/packages/api_platform.yaml

46 lines
1.3 KiB
YAML

api_platform:
title: The Goteo v4 API
version: 4.0.0
show_webby: false
collection:
order: "DESC"
openapi:
contact:
name: Democratic Tech Fund
url: https://democratictech.fund/contact/
email: democratictech@freeknowledge.eu
termsOfService:
license:
name: AGPL
url: https://www.gnu.org/licenses/agpl-3.0.txt
swagger_ui_extra_configuration:
filter: true
formats:
json: ["application/json"]
jsonld: ["application/ld+json"]
csv: ["text/csv"]
docs_formats:
html: ["text/html"]
json: ["application/json"]
jsonld: ["application/ld+json"]
jsonopenapi: ["application/vnd.openapi+json"]
defaults:
stateless: true
cache_headers:
public: true
max_age: 3600
shared_max_age: 3600
vary: ["Content-Type", "Authorization", "Origin"]
extra_properties:
standard_put: true
pagination_enabled: true
pagination_items_per_page: 30
pagination_maximum_items_per_page: 100
pagination_client_items_per_page: true
use_symfony_listeners: true
swagger:
api_keys:
access_token:
name: Authorization
type: header