diff --git a/Sources/JSONAPIOpenAPI/Sampleable/Sampleable.swift b/Sources/JSONAPIOpenAPI/Sampleable/Sampleable.swift index 0d3cfc7..8923032 100644 --- a/Sources/JSONAPIOpenAPI/Sampleable/Sampleable.swift +++ b/Sources/JSONAPIOpenAPI/Sampleable/Sampleable.swift @@ -18,17 +18,23 @@ public protocol Sampleable { /// Get an example of success, if that is meaningful and /// available. If not, will be nil. /// + /// (optional) + /// /// The default implementation returns `nil`. static var successSample: Self? { get } /// Get an example of failure, if that is meaningful and /// available. If not, will be nil. /// + /// (optional) + /// /// The default implementation returns `nil`. static var failureSample: Self? { get } /// An array of samples of this Type. /// + /// (optional) + /// /// The default implementation returns /// an array with just the result of /// `Self.sample` in it.