From f48c385f99006e043fefa672c2570f18fa438c2c Mon Sep 17 00:00:00 2001 From: Mathew Polzin Date: Mon, 28 Jan 2019 23:51:29 -0800 Subject: [PATCH] super minor code doc tweak --- Sources/JSONAPIOpenAPI/Sampleable/Sampleable.swift | 6 ++++++ 1 file changed, 6 insertions(+) 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.