Replaced the Tuple schema for the OpenAPI specification document in the library target with per-type key-name payloads.
This commit is contained in:
@@ -27,7 +27,7 @@ public struct GameCharacter: KeyNameModel {
|
||||
|
||||
/// Initializes this model from a given payload.
|
||||
/// - Parameter payload: A payload that contains the values for the model.
|
||||
init(_ payload: Components.Schemas.Tuple) {
|
||||
init(_ payload: some KeyNamePayload) {
|
||||
self.key = payload.key
|
||||
self.name = payload.name
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user