Skip to content

Commit ce76ec6

Browse files
committed
Soundness
1 parent 257f0b7 commit ce76ec6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Sources/_OpenAPIGeneratorCore/Translator/TypeAssignment/Builtins.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ extension TypeName {
4242
/// HTTPTypes module.
4343
/// - Parameter name: The name of the type.
4444
/// - Returns: A TypeName representing the type with the given name in the HTTPTypes module.
45-
static func httpTypes(_ name: String) -> TypeName {
46-
TypeName(swiftKeyPath: [Constants.Import.httpTypes, name])
47-
}
45+
static func httpTypes(_ name: String) -> TypeName { TypeName(swiftKeyPath: [Constants.Import.httpTypes, name]) }
4846

4947
/// Returns the type name for the Date type.
5048
static var date: Self { .foundation("Date") }

0 commit comments

Comments
 (0)