configVersion: 2.0.0
generation:
  sdkClassName: Plex-API
  maintainOpenAPIOrder: true
  usageSnippets:
    optionalPropertyRendering: withExample
    sdkInitStyle: constructor
  useClassNamesForArrayFields: true
  fixes:
    nameResolutionDec2023: true
    nameResolutionFeb2025: true
    parameterOrderingFeb2024: true
    requestResponseComponentNamesFeb2024: true
    securityFeb2025: true
    sharedErrorComponentsApr2025: true
  auth:
    oAuth2ClientCredentialsEnabled: true
    oAuth2PasswordEnabled: false
    hoistGlobalSecurity: true
  schemas:
    allOfMergeStrategy: shallowMerge
  requestBodyFieldName: ""
  tests:
    generateTests: true
    generateNewTests: true
    skipResponseBodyAssertions: false
typescript:
  version: 0.44.0
  acceptHeaderEnum: true
  additionalDependencies:
    dependencies: {}
    devDependencies: {}
    peerDependencies: {}
  additionalPackageJSON: {}
  additionalScripts: {}
  alwaysIncludeInboundAndOutbound: false
  author: LukeHagar
  baseErrorName: PlexAPIError
  clientServerStatusCodesAsErrors: true
  constFieldsAlwaysOptional: true
  defaultErrorName: SDKError
  enableCustomCodeRegions: false
  enableMCPServer: true
  enableReactQuery: false
  enumFormat: enum
  exportZodModelNamespace: false
  flattenGlobalSecurity: true
  flatteningOrder: body-first
  formStringArrayEncodeMode: encoded-string
  forwardCompatibleEnumsByDefault: true
  forwardCompatibleUnionsByDefault: "tagged-only"
  generateExamples: true
  imports:
    option: openapi
    paths:
      callbacks: models/callbacks
      errors: models/errors
      operations: models/operations
      shared: models/shared
      webhooks: models/webhooks
  inferUnionDiscriminators: true
  inputModelSuffix: input
  jsonpath: rfc9535
  laxMode: lax
  maxMethodParams: 4
  methodArguments: require-security-and-request
  modelPropertyCasing: camel
  moduleFormat: commonjs
  multipartArrayFormat: legacy
  outputModelSuffix: output
  packageName: '@lukehagar/plexjs'
  responseFormat: flat
  sseFlatResponse: false
  templateVersion: v2
  unionStrategy: populated-fields
  usageSDKInitImports: []
  useIndexModules: true
  zodVersion: v4
