APITemplate
struct APITemplate : CodeTemplate
Template which represents the code structure for an endpoint
-
Declaration
Swift
func render(_ modifiable: Modifiable) -> String
-
Declaration
Swift
func write(_ modifiable: Modifiable, to path: Path) throws -> URL?