api_platform:
  title: SuiteCRM API
  version: 8.5.0
  formats:
    jsonld: [ 'application/ld+json' ]
  docs_formats:
    jsonld: [ 'application/ld+json' ]
    jsonopenapi: [ 'application/vnd.openapi+json' ]
    html: [ 'text/html' ]
  defaults:
    stateless: true
    cache_headers:
      vary: [ 'Content-Type', 'Authorization', 'Origin' ]
    extra_properties:
      standard_put: true
      rfc_7807_compliant_errors: true
  event_listeners_backward_compatibility_layer: false
  keep_legacy_inflector: false
  graphql:
    default_ide: graphql-playground
    graphiql:
      enabled: false
    graphql_playground:
      enabled: true
  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: true
  enable_re_doc: false

  # Specify a path name generator to use.
  path_segment_name_generator: api_platform.metadata.path_segment_name_generator.dash

