Skip to content

Commit

Permalink
use OpenAPIKit module in the newer reflection module.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpolzin committed Sep 24, 2023
1 parent b3721d7 commit 9c3ce68
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Sources/OpenAPIReflection/AnyJSONCaseIterable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import Foundation
import OpenAPIKit30
import OpenAPIKit

public protocol AnyRawRepresentable {
/// The `RawValue` type of this type.
Expand Down
2 changes: 1 addition & 1 deletion Sources/OpenAPIReflection/Date+OpenAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import Foundation
import OpenAPIKit30
import OpenAPIKit

extension Date: DateOpenAPISchemaType {
public static func dateOpenAPISchemaGuess(using encoder: JSONEncoder) -> JSONSchema? {
Expand Down
2 changes: 1 addition & 1 deletion Sources/OpenAPIReflection/OpenAPI+Errors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import Foundation
import OpenAPIKit30
import OpenAPIKit

extension OpenAPI {
public enum TypeError: Swift.Error, CustomDebugStringConvertible {
Expand Down
2 changes: 1 addition & 1 deletion Sources/OpenAPIReflection/Sampleable+OpenAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Foundation
import Sampleable
import OpenAPIKit30
import OpenAPIKit

extension Sampleable where Self: Encodable {
public static func genericOpenAPISchemaGuess(using encoder: JSONEncoder) throws -> JSONSchema {
Expand Down
2 changes: 1 addition & 1 deletion Sources/OpenAPIReflection/SchemaProtocols.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import Foundation
import OpenAPIKit30
import OpenAPIKit
import Sampleable

/// Anything conforming to `OpenAPIEncodedSchemaType` can provide an
Expand Down
2 changes: 1 addition & 1 deletion Sources/OpenAPIReflection/SwiftPrimitiveExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import Foundation
import OpenAPIKit30
import OpenAPIKit

extension Optional: AnyRawRepresentable where Wrapped: AnyRawRepresentable {
public static var rawValueType: Any.Type { Wrapped.rawValueType }
Expand Down

0 comments on commit 9c3ce68

Please sign in to comment.