Skip to content

Commit 53d3945

Browse files
authored
Merge pull request #21 from tkausch/security-README-and-project-cleanup
Updating DocC and used swift version to generate the docs
2 parents 42b6ae1 + cbd0180 commit 53d3945

6 files changed

Lines changed: 11 additions & 20 deletions

File tree

‎.github/workflows/deploy-docc.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup Xcode
3131
uses: maxim-lobanov/setup-xcode@v1
3232
with:
33-
xcode-version: '15.4'
33+
xcode-version: '16.1'
3434

3535
- name: Build DocC
3636
run: |

‎Sources/SwiftRestRequests/Documentation.docc/Articles/Configuration.md‎

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,11 @@ let combined = RestOptions.combine(baseOptions, authOptions, customOptions)
119119
## Topics
120120

121121
### Configuration
122-
- ``RestOptions/headers``
122+
- ``RestOptions/httpHeaders``
123123
- ``RestOptions/queryParameters``
124-
- ``RestOptions/timeoutInterval``
124+
- ``RestOptions/requestTimeoutSeconds``
125125
- ``RestOptions/expectedStatusCodes``
126-
- ``RestOptions/acceptedMimeTypes``
127-
128-
### Security
129-
- ``RestOptions/serverPinning``
130-
- ``RestOptions/tlsConfiguration``
126+
- ``RestOptions/dateDecodingStrategy``
131127

132128
### Related Types
133129
- ``RestApiCaller``

‎Sources/SwiftRestRequests/Documentation.docc/Articles/GettingStarted.md‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Getting Started
22

3-
@Metadata {
4-
@Title("Getting Started")
5-
}
6-
73
Follow these steps to integrate ``SwiftRestRequests`` into a Swift Package or Xcode project and perform your
84
first request.
95

‎Sources/SwiftRestRequests/Documentation.docc/Articles/Interceptors.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,7 @@ class ThreadSafeInterceptor: RequestInterceptor {
121121
- ``AuthorizerInterceptor``
122122

123123
### Protocols
124-
- ``RequestInterceptor``
125-
- ``ResponseInterceptor``
124+
- ``URLRequestInterceptor``
126125

127126
### Related Types
128127
- ``RestApiCaller``

‎Sources/SwiftRestRequests/Documentation.docc/SwiftRestRequests.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The package supports iOS, macOS, watchOS, tvOS, visionOS, and Linux. It targets
3232

3333
- ``URLRequestAuthorizer``
3434
- ``BasicRequestAuthorizer``
35-
- ``BearerReqeustAuthorizer``
35+
- ``BearerRequestAuthorizer``
3636
- ``NoneAuthorizer``
3737
- ``AuthorizerInterceptor``
3838

‎Sources/SwiftRestRequests/RestError.swift‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@ import FoundationNetworking
4141
/// ## Topics
4242
///
4343
/// ### Response Validation Errors
44-
/// - ``badResponse(_:_:)``
45-
/// - ``invalidMimeType(_:)``
46-
/// - ``unexpectedHttpStatusCode(_:)``
44+
/// - ``badResponse(response:data:)``
45+
/// - ``invalidMimeType(mimeType:)``
46+
/// - ``unexpectedHttpStatusCode(statusCode:)``
4747
///
4848
/// ### Data Processing Errors
49-
/// - ``malformedResponse(_:_:_:)``
49+
/// - ``malformedResponse(response:data:underlying:)``
5050
/// - ``invalidQueryParameter``
5151
///
5252
/// ### API Errors
53-
/// - ``failedRestCall(_:_:error:)``
53+
/// - ``failedRestCall(response:status:errorPayload:)``
5454
///
5555
/// ## Usage Example
5656
/// ```swift

0 commit comments

Comments
 (0)