Files
zeekay 0c2f028a8c Generate the Swift client, which this copy did not carry
The forge tree held the package scaffolding and none of the generated sources —
2,435 files of APIs, Models and Infrastructure, including BaseAPI, were simply
absent, so anything depending on this copy had a package that compiled to
nothing usable.

Generated from the current API document rather than reconciled with the other
copy: a client is a function of the spec, so regenerating answers "which history
wins" without anyone having to choose. .spec-lock records which document, so the
next reader can tell.
2026-08-23 10:04:41 -07:00

36 lines
1.2 KiB
Swift

//
// PipelineReq.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct PipelineReq: Sendable, Codable, ParameterConvertible, Hashable {
/** Feeds is the RSS/Atom feed URLs to read, at most 64. Each must be an http(s) URL whose host is on the server's allowlist — the SSRF guard is applied here, at the write, so a stored pipeline can never name a host the fetcher would refuse. Blank entries are dropped and duplicates collapse. */
public var feeds: [String]?
/** Filters narrows the merged feed. Terms are trimmed, de-duplicated case-insensitively, and capped at 64 per axis. */
public var filters: Filters?
public init(feeds: [String]? = nil, filters: Filters? = nil) {
self.feeds = feeds
self.filters = filters
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case feeds
case filters
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(feeds, forKey: .feeds)
try container.encodeIfPresent(filters, forKey: .filters)
}
}