Get rid of OpenAPI namespace because a compiler bug was making it more hassle than it was worth.

This commit is contained in:
Mathew Polzin
2019-01-14 23:46:39 -08:00
parent cb04a01e71
commit 3a0ede2372
8 changed files with 119 additions and 90 deletions
@@ -0,0 +1,15 @@
//
// Id+Arbitrary.swift
// JSONAPIArbitrary
//
// Created by Mathew Polzin on 1/14/19.
//
import SwiftCheck
import JSONAPI
extension Id: Arbitrary where RawType: Arbitrary {
public static var arbitrary: Gen<Id<RawType, IdentifiableType>> {
return RawType.arbitrary.map { Id(rawValue: $0) }
}
}