Skip to content

Commit

Permalink
CI: regenerate [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0q authored and actions-user committed Jul 23, 2024
1 parent db8007f commit 8510931
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Sources/Traq/APIs/ChannelAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ extension TraqAPI {
- returns: DMChannel
*/
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
open class func getUserDMChannel(userId: String) async throws -> DMChannel {
open class func getUserDMChannel(userId: UUID) async throws -> DMChannel {
try await getUserDMChannelWithRequestBuilder(userId: userId).execute().body
}

Expand All @@ -707,7 +707,7 @@ extension TraqAPI {
- parameter userId: (path)
- returns: RequestBuilder<DMChannel>
*/
open class func getUserDMChannelWithRequestBuilder(userId: String) -> RequestBuilder<DMChannel> {
open class func getUserDMChannelWithRequestBuilder(userId: UUID) -> RequestBuilder<DMChannel> {
var localVariablePath = "/users/{userId}/dm-channel"
let userIdPreEscape = "\(APIHelper.mapValueToPathItem(userId))"
let userIdPostEscape = userIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
Expand Down
4 changes: 2 additions & 2 deletions Sources/Traq/APIs/UserAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ extension TraqAPI {
- returns: DMChannel
*/
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
open class func getUserDMChannel(userId: String) async throws -> DMChannel {
open class func getUserDMChannel(userId: UUID) async throws -> DMChannel {
try await getUserDMChannelWithRequestBuilder(userId: userId).execute().body
}

Expand All @@ -438,7 +438,7 @@ extension TraqAPI {
- parameter userId: (path)
- returns: RequestBuilder<DMChannel>
*/
open class func getUserDMChannelWithRequestBuilder(userId: String) -> RequestBuilder<DMChannel> {
open class func getUserDMChannelWithRequestBuilder(userId: UUID) -> RequestBuilder<DMChannel> {
var localVariablePath = "/users/{userId}/dm-channel"
let userIdPreEscape = "\(APIHelper.mapValueToPathItem(userId))"
let userIdPostEscape = userIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
Expand Down
6 changes: 3 additions & 3 deletions docs/ChannelAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ Name | Type | Description | Notes

# **getUserDMChannel**
```swift
open class func getUserDMChannel(userId: String, completion: @escaping (_ data: DMChannel?, _ error: Error?) -> Void)
open class func getUserDMChannel(userId: UUID, completion: @escaping (_ data: DMChannel?, _ error: Error?) -> Void)
```

DMチャンネル情報を取得
Expand All @@ -767,7 +767,7 @@ DMチャンネル情報を取得
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import Traq

let userId = "userId_example" // String |
let userId = 987 // UUID |

// DMチャンネル情報を取得
ChannelAPI.getUserDMChannel(userId: userId) { (response, error) in
Expand All @@ -786,7 +786,7 @@ ChannelAPI.getUserDMChannel(userId: userId) { (response, error) in

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**userId** | **String** | |
**userId** | **UUID** | |

### Return type

Expand Down
6 changes: 3 additions & 3 deletions docs/UserAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ Name | Type | Description | Notes

# **getUserDMChannel**
```swift
open class func getUserDMChannel(userId: String, completion: @escaping (_ data: DMChannel?, _ error: Error?) -> Void)
open class func getUserDMChannel(userId: UUID, completion: @escaping (_ data: DMChannel?, _ error: Error?) -> Void)
```

DMチャンネル情報を取得
Expand All @@ -459,7 +459,7 @@ DMチャンネル情報を取得
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import Traq

let userId = "userId_example" // String |
let userId = 987 // UUID |

// DMチャンネル情報を取得
UserAPI.getUserDMChannel(userId: userId) { (response, error) in
Expand All @@ -478,7 +478,7 @@ UserAPI.getUserDMChannel(userId: userId) { (response, error) in

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**userId** | **String** | |
**userId** | **UUID** | |

### Return type

Expand Down

0 comments on commit 8510931

Please sign in to comment.