diff --git a/Example/Sources/PetStoreWithMacros/PetStore.swift b/Example/Sources/PetStoreWithMacros/PetStore.swift index 77d9dc5..c426b3f 100644 --- a/Example/Sources/PetStoreWithMacros/PetStore.swift +++ b/Example/Sources/PetStoreWithMacros/PetStore.swift @@ -36,8 +36,8 @@ public extension PetStore { @Path("{id}") public struct PetByID { - @GET("/") public func get() -> PetModel {} - @DELETE("/") public func delete() {} + @GET("/") public func get() -> PetModel {} + @DELETE("/") public func delete() {} @POST("/") public func update(@Query name: String?, @Query status: PetStatus?) -> PetModel {} @POST public func uploadImage(_ body: Data, @Query additionalMetadata: String? = nil) {} } @@ -61,8 +61,8 @@ public extension PetStore { @Path("order", "{id}") public struct Order { - @GET("/") public func get() -> OrderModel {} - @DELETE("/") public func delete() {} + @GET("/") public func get() -> OrderModel {} + @DELETE("/") public func delete() {} } } } @@ -88,9 +88,9 @@ extension PetStore { @Path("{username}") public struct UserByUsername { - - @GET("/") public func get() -> UserModel {} - @DELETE("/") public func delete() {} + + @GET("/") public func get() -> UserModel {} + @DELETE("/") public func delete() {} @PUT("/") public func update(_ body: UserModel) -> UserModel {} } }