mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 11:00:40 +08:00
Add API Platform Framework with Symfony/Flex
This implements the basic structure that will be used for the API and core application.
This commit is contained in:
parent
bc0c674603
commit
587a79613e
115 changed files with 5489 additions and 6682 deletions
39
config/packages/api_platform.yaml
Normal file
39
config/packages/api_platform.yaml
Normal file
|
@ -0,0 +1,39 @@
|
|||
api_platform:
|
||||
graphql:
|
||||
graphiql:
|
||||
enabled: false
|
||||
graphql_playground:
|
||||
enabled: false
|
||||
mapping:
|
||||
paths: ['%kernel.project_dir%/core']
|
||||
patch_formats:
|
||||
json: ['application/merge-patch+json']
|
||||
graphql: ['application/graphql']
|
||||
swagger:
|
||||
versions: [3]
|
||||
oauth:
|
||||
# To enable or disable oauth.
|
||||
enabled: true
|
||||
|
||||
# The oauth client id.
|
||||
clientId: 'scrmfe'
|
||||
|
||||
# The oauth client secret.
|
||||
clientSecret: 'scrmfe'
|
||||
|
||||
# The oauth type.
|
||||
type: 'oauth2'
|
||||
|
||||
# The oauth flow grant type.
|
||||
flow: 'password'
|
||||
|
||||
# The oauth token url.
|
||||
tokenUrl: '/oauth/v2/token'
|
||||
|
||||
# The oauth authentication url.
|
||||
authorizationUrl: '/oauth/v2/auth'
|
||||
|
||||
# The oauth scopes.
|
||||
scopes: []
|
||||
|
||||
enable_swagger_ui: false
|
Loading…
Add table
Add a link
Reference in a new issue