Skip to content

Commit

Permalink
Fix issue with Swift 4.1 compatibilities.
Browse files Browse the repository at this point in the history
  • Loading branch information
mczachurski committed Apr 20, 2018
1 parent 45bd55b commit db3140b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Swiftgger/OpenAPIModel/OpenAPIExample.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db3140b

Please sign in to comment.