Files
swift-request/Examples/Sources/TestService.swift
2023-06-28 16:17:04 -03:00

9 lines
200 B
Swift

import SwiftRequest
import Foundation
@Service(resource: "sample")
protocol SampleService {
@POST("hello/{id}/{limit}")
func hello(@Path id: String, @Path limit: Int) async throws -> [Int]
}