Files
goose/api_clients/swift/GooseAPI/Classes/OpenAPIs/Models/DecodeRecipeResponse.swift
2025-10-02 20:13:20 -04:00

33 lines
659 B
Swift

//
// DecodeRecipeResponse.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
#if canImport(AnyCodable)
import AnyCodable
#endif
public struct DecodeRecipeResponse: Codable, JSONEncodable, Hashable {
public var recipe: Recipe
public init(recipe: Recipe) {
self.recipe = recipe
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case recipe
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encode(recipe, forKey: .recipe)
}
}