From db3140b2183f7b80f15e3d53ee3046769950aab7 Mon Sep 17 00:00:00 2001 From: Marcin Czachurski Date: Fri, 20 Apr 2018 18:27:48 +0200 Subject: [PATCH] Fix issue with Swift 4.1 compatibilities. --- Sources/Swiftgger/OpenAPIModel/OpenAPIExample.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Swiftgger/OpenAPIModel/OpenAPIExample.swift b/Sources/Swiftgger/OpenAPIModel/OpenAPIExample.swift index 1011a6d..c9f5bcb 100644 --- a/Sources/Swiftgger/OpenAPIModel/OpenAPIExample.swift +++ b/Sources/Swiftgger/OpenAPIModel/OpenAPIExample.swift @@ -13,14 +13,14 @@ public class OpenAPIExample: Encodable { public private(set) var ref: String? public private(set) var summary: String? public private(set) var description: String? - public private(set) var value: Any? + public private(set) var value: String? public private(set) var externalValue: String? init(ref: String) { self.ref = ref } - init(summary: String? = nil, description: String? = nil, value: Any? = nil, externalValue: String? = nil) { + init(summary: String? = nil, description: String? = nil, value: String? = nil, externalValue: String? = nil) { self.summary = summary self.description = description self.value = value