Package-level declarations

Functions

Link copied to clipboard
fun TypeName.array(): TypeName

Extension methods for SwiftPoet classes/types

Link copied to clipboard
fun DataNode.swiftConstant(typeName: TypeName, shape: Shape?): CodeBlock
fun DataNode.swiftConstant(typeName: TypeName, shape: Shape?, builder: CodeBlock.Builder)

Properties

Link copied to clipboard
val ANY_VALUE: DeclaredTypeName
Link copied to clipboard
val ARRAY_ANY: ParameterizedTypeName
Link copied to clipboard
val ARRAY_ANY_OPTIONAL: ParameterizedTypeName
Link copied to clipboard
val ASYNC_STREAM: DeclaredTypeName
Link copied to clipboard
val CODABLE: DeclaredTypeName
Link copied to clipboard
val CODING_KEY: DeclaredTypeName
Link copied to clipboard
val CUSTOM_STRING_CONVERTIBLE: DeclaredTypeName
Link copied to clipboard
val DATA_RESPONSE: TupleTypeName
Link copied to clipboard
val DATE: DeclaredTypeName
Link copied to clipboard
val DECIMAL: DeclaredTypeName
Link copied to clipboard
val DECODABLE: DeclaredTypeName
Link copied to clipboard
val DECODER: DeclaredTypeName
Link copied to clipboard
val DECODING_ERROR: DeclaredTypeName
Link copied to clipboard
val DESCRIPTION_BUILDER: DeclaredTypeName
Link copied to clipboard
val DICTIONARY_STRING_ANY: ParameterizedTypeName
Link copied to clipboard
val DICTIONARY_STRING_ANY_OPTIONAL: ParameterizedTypeName
Link copied to clipboard
val EMPTY: DeclaredTypeName
Link copied to clipboard
val ENCODABLE: DeclaredTypeName
Link copied to clipboard
val ENCODER: DeclaredTypeName
Link copied to clipboard
val ENCODING_ERROR: DeclaredTypeName
Link copied to clipboard
val EQUATABLE: DeclaredTypeName
Link copied to clipboard
val EVENT_SOURCE: DeclaredTypeName
Link copied to clipboard
Link copied to clipboard
val HTTP_METHOD: DeclaredTypeName
Link copied to clipboard
val HTTP_URL_RESPONSE: DeclaredTypeName
Link copied to clipboard
val MEDIA_TYPE: DeclaredTypeName
Link copied to clipboard
val MEDIA_TYPE_ARRAY: ParameterizedTypeName
Link copied to clipboard
const val PC_MODULE: String
Link copied to clipboard
val PROBLEM: DeclaredTypeName
Link copied to clipboard
val REQUEST_FACTORY: DeclaredTypeName
Link copied to clipboard
val RESULT_RESPONSE: DeclaredTypeName
Link copied to clipboard
Link copied to clipboard
const val SWIFT_MODULE: String
Link copied to clipboard
val ScalarNode.swiftEnumName: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val URI_TEMPLATE: DeclaredTypeName
Link copied to clipboard
val URL: DeclaredTypeName
Link copied to clipboard
val URL_REQUEST: DeclaredTypeName