SwiftSundayGenerator
class SwiftSundayGenerator(val document: Document, val shapeIndex: ShapeIndex, val typeRegistry: SwiftTypeRegistry, val options: SwiftSundayGenerator.Options) : SwiftGenerator
Constructors
Link copied to clipboard
fun SwiftSundayGenerator(document: Document, shapeIndex: ShapeIndex, typeRegistry: SwiftTypeRegistry, options: SwiftSundayGenerator.Options)
Types
Functions
Link copied to clipboard
open fun generateServiceType(serviceTypeName: DeclaredTypeName, endPoints: List<EndPoint>): TypeSpec.Builder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun processResourceMethodBodyParameter(endPoint: EndPoint, operation: Operation, payloadSchema: Shape, typeBuilder: TypeSpec.Builder, functionBuilder: FunctionSpec.Builder, parameterBuilder: ParameterSpec.Builder): ParameterSpec
Link copied to clipboard
open override fun processResourceMethodEnd(endPoint: EndPoint, operation: Operation, problemTypes: Map<URI, DeclaredTypeName>, typeBuilder: TypeSpec.Builder, functionBuilder: FunctionSpec.Builder): FunctionSpec
Link copied to clipboard
open override fun processResourceMethodHeaderParameter(endPoint: EndPoint, operation: Operation, parameter: Parameter, typeBuilder: TypeSpec.Builder, functionBuilder: FunctionSpec.Builder, parameterBuilder: ParameterSpec.Builder): ParameterSpec
Link copied to clipboard
open override fun processResourceMethodQueryParameter(endPoint: EndPoint, operation: Operation, parameter: Parameter, typeBuilder: TypeSpec.Builder, functionBuilder: FunctionSpec.Builder, parameterBuilder: ParameterSpec.Builder): ParameterSpec
Link copied to clipboard
open override fun processResourceMethodStart(endPoint: EndPoint, operation: Operation, typeBuilder: TypeSpec.Builder, functionBuilder: FunctionSpec.Builder): FunctionSpec.Builder
Link copied to clipboard
open override fun processResourceMethodUriParameter(endPoint: EndPoint, operation: Operation, parameter: Parameter, typeBuilder: TypeSpec.Builder, functionBuilder: FunctionSpec.Builder, parameterBuilder: ParameterSpec.Builder): ParameterSpec
Link copied to clipboard
open override fun processReturnType(endPoint: EndPoint, operation: Operation, response: Response, body: Shape?, problemTypes: Map<String, ProblemTypeDefinition>, typeBuilder: TypeSpec.Builder, functionBuilder: FunctionSpec.Builder, returnTypeName: TypeName): TypeName
Link copied to clipboard
open override fun processServiceBegin(serviceTypeName: DeclaredTypeName, endPoints: List<EndPoint>): TypeSpec.Builder
Link copied to clipboard
Link copied to clipboard