-
-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #244 from mathiasemil/master
Updates OpenAPI spec to App Store Connect API version 3.0
- Loading branch information
Showing
500 changed files
with
79,261 additions
and
35,424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationWithoutIncludesResponse.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Generated by Create API | ||
// https://github.com/CreateAPI/CreateAPI | ||
// | ||
// swiftlint:disable all | ||
|
||
import Foundation | ||
|
||
public struct AgeRatingDeclarationWithoutIncludesResponse: Codable { | ||
/// AppStoreVersion | ||
public var data: AppStoreVersion | ||
public var links: DocumentLinks | ||
|
||
public init(data: AppStoreVersion, links: DocumentLinks) { | ||
self.data = data | ||
self.links = links | ||
} | ||
|
||
public init(from decoder: Decoder) throws { | ||
let values = try decoder.container(keyedBy: StringCodingKey.self) | ||
self.data = try values.decode(AppStoreVersion.self, forKey: "data") | ||
self.links = try values.decode(DocumentLinks.self, forKey: "links") | ||
} | ||
|
||
public func encode(to encoder: Encoder) throws { | ||
var values = encoder.container(keyedBy: StringCodingKey.self) | ||
try values.encode(data, forKey: "data") | ||
try values.encode(links, forKey: "links") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.