Skip to content

Conversation

finestructure
Copy link
Member

@finestructure finestructure commented Mar 10, 2025

  • Drop VaporToOpenAPI
  • Remove AppTestCase (moving relevant bits to TestSupport and Database+ext

@cla-bot cla-bot bot added the cla-signed label Mar 10, 2025
.package(url: "https://github.com/SwiftPackageIndex/SemanticVersion.git", from: "0.3.0"),
.package(url: "https://github.com/SwiftPackageIndex/ShellOut.git", from: "3.1.4"),
.package(url: "https://github.com/swiftlang/swift-package-manager.git", branch: "release/5.10"),
.package(url: "https://github.com/dankinsoid/VaporToOpenAPI.git", from: "4.4.4"),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VaporToOpenAPI is not thread-safe. It causes crashes when running tests in parallel. Rather than create openapi.json dynamically on the fly from the routes, we should switch to using the swift-openapi-generator.

Since the OpenAPI spec isn't a critical piece I've simply removed it for now.

@finestructure finestructure merged commit e950a0b into main Mar 10, 2025
6 checks passed
@finestructure finestructure deleted the issue-3655-swift-testing-cleanup branch March 10, 2025 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants