Instance Propertyswift-openapi-generator 1.5.0_OpenAPIGeneratorCore
paths
These paths will be included in the filter.
var paths: [OpenAPI.Path]?
These paths will be included in the filter.
var paths: [OpenAPI.Path]?
s21_OpenAPIGeneratorCore14DocumentFilterV5pathsSay0a6APIKitC06SharedO4PathVGSgvp
What are these?8W8M1
import _OpenAPIGeneratorCore
Invoke the core logic of the Swift OpenAPI Generator tool and plugin.
struct DocumentFilter
Rules used to filter an OpenAPI document.
enum OpenAPI
The OpenAPI namespace
typealias Path = OpenAPIKitCore.Shared.Path
init(from decoder: any Decoder) throws
init(operations: [String] = [], tags: [String] = [], paths: [OpenAPI.Path] = [], schemas: [String] = [])
Create a new DocumentFilter.
var operations: [String]?
Operations with these operation IDs will be included in the filter.
var schemas: [String]?
These (additional) schemas will be included in the filter.
var tags: [String]?
Operations tagged with these tags will be included in the filter.
func filter(_ document: OpenAPI.Document) throws -> OpenAPI.Document
Filter an OpenAPI document.