Skip to content

Commit

Permalink
feat: update swagger to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar committed Feb 10, 2021
1 parent 24ef0b9 commit 027eda4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions Sources/InfluxDBSwiftApis/Generated/Models/DBRPs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@ import Foundation

public struct DBRPs: Codable {

public var notificationEndpoints: [DBRP]?
public var links: Links?
public var content: [DBRP]?

public init(notificationEndpoints: [DBRP]? = nil, links: Links? = nil) {
self.notificationEndpoints = notificationEndpoints
self.links = links
public init(content: [DBRP]? = nil) {
self.content = content
}

}
Expand Down
2 changes: 1 addition & 1 deletion Tests/InfluxDBSwiftApisTests/DBRPsAPITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class DBRPsAPITests: APIXCTestCase {
super.setUp()
api.getDBRPsAPI().getDBRPs(orgID: Self.orgID) { dbrps, _ in
dbrps?
.notificationEndpoints?
.content?
.forEach { dbrp in
self.api.getDBRPsAPI().deleteDBRPID(orgID: Self.orgID, dbrpID: dbrp.id!) { _, _ in
}
Expand Down

0 comments on commit 027eda4

Please sign in to comment.