You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Demo.playground/Pages/Basic.xcplaygroundpage/Contents.swift
+21-19Lines changed: 21 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,12 @@ import Foundation
4
4
5
5
import APIWrapper
6
6
7
-
/*:
8
-
This example uses [Postman Echo](https://www.postman.com/postman/workspace/published-postman-templates/documentation/631643-f695cab7-6878-eb55-7943-ad88e1ccfd65?ctx=documentation) as the sample api.
9
-
10
-
The return value of this api depends on the parameters and will return the parameters, headers and other data as is.
11
-
*/
7
+
// MARK: - BasicAPI
8
+
9
+
/// :
10
+
/// This example uses [Postman Echo](https://www.postman.com/postman/workspace/published-postman-templates/documentation/631643-f695cab7-6878-eb55-7943-ad88e1ccfd65?ctx=documentation) as the sample api.
11
+
///
12
+
/// The return value of this api depends on the parameters and will return the parameters, headers and other data as is.
12
13
13
14
//: To begin by showing some of the most basic uses, look at how the api is defined.
14
15
@@ -26,12 +27,12 @@ enum BasicAPI {
26
27
do{
27
28
// Requests the api and parses the return value of the interface. Note the use of the `$` character.
0 commit comments