-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(specs): browse response required properties
algolia/api-clients-automation#3348 Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
- Loading branch information
1 parent
c666d86
commit 0082369
Showing
7 changed files
with
62 additions
and
132 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on | ||
// https://github.com/algolia/api-clients-automation. DO NOT EDIT. | ||
|
||
import Foundation | ||
#if canImport(Core) | ||
import Core | ||
#endif | ||
|
||
public struct DockerStreamsInput: Codable, JSONEncodable { | ||
public var streams: AnyCodable | ||
|
||
public init(streams: AnyCodable) { | ||
self.streams = streams | ||
} | ||
|
||
public enum CodingKeys: String, CodingKey, CaseIterable { | ||
case streams | ||
} | ||
|
||
// Encodable protocol methods | ||
|
||
public func encode(to encoder: Encoder) throws { | ||
var container = encoder.container(keyedBy: CodingKeys.self) | ||
try container.encode(self.streams, forKey: .streams) | ||
} | ||
} | ||
|
||
extension DockerStreamsInput: Equatable { | ||
public static func ==(lhs: DockerStreamsInput, rhs: DockerStreamsInput) -> Bool { | ||
lhs.streams == rhs.streams | ||
} | ||
} | ||
|
||
extension DockerStreamsInput: Hashable { | ||
public func hash(into hasher: inout Hasher) { | ||
hasher.combine(self.streams.hashValue) | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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