OpenAPI Generator

OpenAPI Generator

  • Get Started
  • Generators
  • Roadmap
  • Team
  • FAQ
  • Blog

Config Options for objc

OptionDescriptionValuesDefault
coreDataShould generate core data modelsfalse
classPrefixprefix for generated classes (convention: Abbreviation of pod name e.g. HN for HackerNews).`OAI
podNamecocoapods package name (convention: CameCase).OpenAPIClient
podVersioncocoapods package version.1.0.0
authorNameName to use in the podspec file.OpenAPI
authorEmailEmail to use in the podspec file.team@openapitools.org
gitRepoURLURL for the git repo where this podspec should point to.https://github.com/openapitools/openapi-generator
hideGenerationTimestampHides the generation timestamp when files are generated.true

IMPORT MAPPING

Type/AliasImports

INSTANTIATION TYPES

Type/AliasInstantiated By
arrayNSMutableArray
mapNSMutableDictionary

LANGUAGE PRIMITIVES

  • NSNumber
  • NSObject
  • NSData
  • bool
  • BOOL
  • NSURL
  • NSString
  • NSDate

RESERVED WORDS

  • struct
  • auto
  • _packed
  • queryparams
  • extern
  • do
  • float
  • while
  • resourcepath
  • protocol
  • readonly
  • else
  • continue
  • unsafe_unretained
  • property
  • requestcontenttype
  • id
  • if
  • nsinteger
  • responsecontenttype
  • case
  • pathparams
  • void
  • static
  • sizeof
  • double
  • authsettings
  • signed
  • nonatomic
  • formparams
  • typedef
  • enum
  • headerparams
  • bodyparam
  • strong
  • const
  • for
  • nsnumber
  • retain
  • description
  • interface
  • long
  • switch
  • weak
  • default
  • goto
  • localvarfiles
  • class
  • cgfloat
  • break
  • implementation
  • volatile
  • nsobject
  • union
  • int
  • char
  • short
  • unsigned
  • readwrite
  • return
  • register
Last updated on 1/9/2020
  • IMPORT MAPPING
  • INSTANTIATION TYPES
  • LANGUAGE PRIMITIVES
  • RESERVED WORDS
OpenAPI Generator
Docs
Customizing GeneratorsWorkflow Integrations
Community
User ShowcaseStack OverflowChat RoomTwitter
More
BlogGitHub RepoStar
Copyright © 2020 OpenAPI-Generator Contributors (https://openapi-generator.tech). (Both "OpenAPI Tools" (https://OpenAPITools.org) and "OpenAPI Generator" are not affiliated with OpenAPI Initiative (OAI))