configVersion: 2.0.0
generation:
  sdkClassName: Plex-API
  maintainOpenAPIOrder: true
  usageSnippets:
    optionalPropertyRendering: withExample
    sdkInitStyle: constructor
  useClassNamesForArrayFields: true
  fixes:
    nameResolutionDec2023: true
    nameResolutionFeb2025: false
    parameterOrderingFeb2024: true
    requestResponseComponentNamesFeb2024: true
    securityFeb2025: false
    sharedErrorComponentsApr2025: false
  auth:
    oAuth2ClientCredentialsEnabled: true
    oAuth2PasswordEnabled: false
    hoistGlobalSecurity: true
  schemas:
    allOfMergeStrategy: shallowMerge
  requestBodyFieldName: ""
  tests:
    generateTests: true
    generateNewTests: false
    skipResponseBodyAssertions: false
go:
  version: 0.27.0
  additionalDependencies: {}
  allowUnknownFieldsInWeakUnions: false
  baseErrorName: PlexAPIError
  clientServerStatusCodesAsErrors: true
  defaultErrorName: SDKError
  flattenGlobalSecurity: true
  imports:
    option: openapi
    paths:
      callbacks: models/callbacks
      errors: models/sdkerrors
      operations: models/operations
      shared: models/components
      webhooks: models/webhooks
  includeEmptyObjects: false
  inputModelSuffix: input
  maxMethodParams: 4
  methodArguments: require-security-and-request
  modulePath: ""
  nullableOptionalWrapper: false
  outputModelSuffix: output
  packageName: github.com/LukeHagar/plexgo
  respectRequiredFields: false
  responseFormat: envelope
  sdkPackageName: ""
  unionDeserializationStrategy: left-to-right
