# Development

**URL:** https://forums.swift.org/c/server/serverdev/14.md?page=1

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

**Page:** 2

---

## [Vapor testing can't find Swift OpenAPI Generator created endpoints](https://forums.swift.org/t/vapor-testing-cant-find-swift-openapi-generator-created-endpoints/81224)

<div class="topic-metadata">

**Author:** [@maartene](https://forums.swift.org/u/maartene)\
**Replies:** 15\
**Last updated:** [July 23, 2025, 3:15pm UTC](https://forums.swift.org/t/vapor-testing-cant-find-swift-openapi-generator-created-endpoints/81224 "2025-07-23T15:15:40Z")

</div>

Hi everyone, I'm playing around with the Swift OpenAPI Generator and Vapor to see if it can be an alternative to our TypeScript based tech stack. So far I've created a simple toy project which uses an OpenAPI spec. I c…

---

## [Massive mapping table](https://forums.swift.org/t/massive-mapping-table/80993)

<div class="topic-metadata">

**Author:** [@MahdiBM](https://forums.swift.org/u/MahdiBM)\
**Replies:** 7\
**Last updated:** [July 14, 2025, 1:58pm UTC](https://forums.swift.org/t/massive-mapping-table/80993 "2025-07-14T13:58:49Z")

</div>

I want to embed Unicode's IDNA Mapping Table into a package. I wrote an script to parse the text and output the result as a Swift constant of multiple different types like \[UnicodeScalar: IDNAMapping\] (~1.1 million lin…

---

## [Erlang like fault tolerance with Swift actors](https://forums.swift.org/t/erlang-like-fault-tolerance-with-swift-actors/78232)

<div class="topic-metadata">

**Author:** [@unwrapped\_monad](https://forums.swift.org/u/unwrapped_monad)\
**Replies:** 14\
**Last updated:** [June 25, 2025, 5:24pm UTC](https://forums.swift.org/t/erlang-like-fault-tolerance-with-swift-actors/78232 "2025-06-25T17:24:48Z")

</div>

Hi all, is it feasible to implement erlang like supervision trees and process registries with actors? Swift's actors kinda feel like erlang's gen\_servers

---

## [Swift OTel: Proposed revised API for 1.0 release](https://forums.swift.org/t/swift-otel-proposed-revised-api-for-1-0-release/80214)

<div class="topic-metadata">

**Author:** [@beaumont](https://forums.swift.org/u/beaumont)\
**Replies:** 24\
**Last updated:** [June 10, 2025, 4:01pm UTC](https://forums.swift.org/t/swift-otel-proposed-revised-api-for-1-0-release/80214 "2025-06-10T16:01:32Z")

</div>

Hey folks! Swift OTel provides an OTLP backend for the Swift observability packages (Swift Log, Swift Metrics, and Swift Distributed Tracing). This is an important package for the server ecosystem and so we would like t…

---

## [\[Proposal\] SOAR-0014: Type overrides](https://forums.swift.org/t/proposal-soar-0014-type-overrides/80154)

<div class="topic-metadata">

**Author:** [@Honza\_Dvorsky](https://forums.swift.org/u/Honza_Dvorsky)\
**Replies:** 3\
**Last updated:** [June 9, 2025, 7:17am UTC](https://forums.swift.org/t/proposal-soar-0014-type-overrides/80154 "2025-06-09T07:17:24Z")

</div>

Hi folks! The proposal SOAR-0014: Type overrides for Swift OpenAPI Generator is now up and In Review: The review period will run until June 5th - please feel free to post your feedback either as a reply to this thread,…

---

## [Swift4Lambda v2 equivalent of init(context: LambdaInitializationContext)](https://forums.swift.org/t/swift4lambda-v2-equivalent-of-init-context-lambdainitializationcontext/80235)

<div class="topic-metadata">

**Author:** [@richwolf](https://forums.swift.org/u/richwolf)\
**Replies:** 4\
**Last updated:** [June 2, 2025, 6:14pm UTC](https://forums.swift.org/t/swift4lambda-v2-equivalent-of-init-context-lambdainitializationcontext/80235 "2025-06-02T18:14:36Z")

</div>

So I am curious about something. I'm playing around with the new-ish v2 Swift for Lambda package and trying to adapt my v1 code for v2. In the v1 days, if I had a client (let's call it Vapor's MySQLKit client because tha…

---

## [OpenAPI generator usage question - multiple spec files](https://forums.swift.org/t/openapi-generator-usage-question-multiple-spec-files/79968)

<div class="topic-metadata">

**Author:** [@Joseph\_Heck](https://forums.swift.org/u/Joseph_Heck)\
**Replies:** 2\
**Last updated:** [May 20, 2025, 4:54pm UTC](https://forums.swift.org/t/openapi-generator-usage-question-multiple-spec-files/79968 "2025-05-20T16:54:41Z")

</div>

I was exploring a side project to read and process a generated DocC archive, with the idea of leveraging the OpenAPI schema specs that the DocC project provides at swift-docc/Sources/SwiftDocC/SwiftDocC.docc/Resources at…

---

## [When $class is required and why is it sometimes not required for 'identical' objects?](https://forums.swift.org/t/when-class-is-required-and-why-is-it-sometimes-not-required-for-identical-objects/79450)

<div class="topic-metadata">

**Author:** [@scottslife](https://forums.swift.org/u/scottslife)\
**Replies:** 9\
**Last updated:** [April 23, 2025, 4:52pm UTC](https://forums.swift.org/t/when-class-is-required-and-why-is-it-sometimes-not-required-for-identical-objects/79450 "2025-04-23T16:52:00Z")

</div>

I'm having issues getting some Fluent transactions working. I have a number of objects, but the screenshot below references 3 - the two on the right windows are as far as I can tell, identical (at least as far as what …

---

## [Error the when connecting to server db / making requests](https://forums.swift.org/t/error-the-when-connecting-to-server-db-making-requests/78828)

<div class="topic-metadata">

**Author:** [@Buiscits](https://forums.swift.org/u/Buiscits)\
**Replies:** 5\
**Last updated:** [March 26, 2025, 1:34pm UTC](https://forums.swift.org/t/error-the-when-connecting-to-server-db-making-requests/78828 "2025-03-26T13:34:10Z")

</div>

Hi, I've recently started getting an error when trying to make requests to my server. I suspect this has to do with Fluent (I'm using psql) but honestly not sure what is the root cause. I am getting the same issue with …

---

## [Awaiting readiness of a service (swift-service-lifecycle)](https://forums.swift.org/t/awaiting-readiness-of-a-service-swift-service-lifecycle/78686)

<div class="topic-metadata">

**Author:** [@sliemeobn](https://forums.swift.org/u/sliemeobn)\
**Replies:** 4\
**Last updated:** [March 20, 2025, 1:56pm UTC](https://forums.swift.org/t/awaiting-readiness-of-a-service-swift-service-lifecycle/78686 "2025-03-20T13:56:25Z")

</div>

I am in the processes of kicking a few more of my legacy modules into beautiful swift-6-fully-structured-concurrency territory, and working with ServiceGroups and graceful shutdown handling generally is very nice. The b…

---

## [What are the pain points of deploying Swift on Server applications?](https://forums.swift.org/t/what-are-the-pain-points-of-deploying-swift-on-server-applications/76435)

<div class="topic-metadata">

**Author:** [@doctorj](https://forums.swift.org/u/doctorj)\
**Replies:** 70\
**Last updated:** [March 14, 2025, 5:37pm UTC](https://forums.swift.org/t/what-are-the-pain-points-of-deploying-swift-on-server-applications/76435 "2025-03-14T17:37:30Z")

</div>

What have been some of the pain points in using Swift on Server? What does the community think it needs to be improved to be more widely adopted in the industry? Any specific issues with deploying on Mac or Linux would b…

---

## [BSD Sockets & \[Musl\] Linux Swift](https://forums.swift.org/t/bsd-sockets-musl-linux-swift/77813)

<div class="topic-metadata">

**Author:** [@Amm0](https://forums.swift.org/u/Amm0)\
**Replies:** 4\
**Last updated:** [February 14, 2025, 3:50am UTC](https://forums.swift.org/t/bsd-sockets-musl-linux-swift/77813 "2025-02-14T03:50:11Z")

</div>

I'm trying to use Swift for a side-project, since it kinda fits for it: I want a UI on macOS, but some CLI for Linux, ideally using same codebase. Kinda interested "Swift-on-Server" since I like that approach since it'…

---

## [How to use NIOAsyncChannel and reuse connections for an HTTP Client](https://forums.swift.org/t/how-to-use-nioasyncchannel-and-reuse-connections-for-an-http-client/77598)

<div class="topic-metadata">

**Author:** [@sebsto](https://forums.swift.org/u/sebsto)\
**Replies:** 2\
**Last updated:** [February 2, 2025, 9:19am UTC](https://forums.swift.org/t/how-to-use-nioasyncchannel-and-reuse-connections-for-an-http-client/77598 "2025-02-02T09:19:24Z")

</div>

Hello, I'm writing an HTTP client for a library. I can only use Swift-NIO as a dependency. The client will poll events from a server (GET /next) and reuse the same TCP connection once an event has been delivered to pol…

---

## [\[Proposal\] SOAR-0011: Improved error handling](https://forums.swift.org/t/proposal-soar-0011-improved-error-handling/74736)

<div class="topic-metadata">

**Author:** [@Honza\_Dvorsky](https://forums.swift.org/u/Honza_Dvorsky)\
**Replies:** 31\
**Last updated:** [January 7, 2025, 6:11pm UTC](https://forums.swift.org/t/proposal-soar-0011-improved-error-handling/74736 "2025-01-07T18:11:33Z")

</div>

Hi all, The proposal SOAR-0011: Improved error handling for Swift OpenAPI Generator is now up and In Review: The review period will run until October 1st, 2024 - please post your feedback either as a reply to this thre…

---

## [\[Proposal\] SOAR-0013: Idiomatic naming strategy](https://forums.swift.org/t/proposal-soar-0013-idiomatic-naming-strategy/76242)

<div class="topic-metadata">

**Author:** [@beaumont](https://forums.swift.org/u/beaumont)\
**Replies:** 25\
**Last updated:** [December 17, 2024, 8:43am UTC](https://forums.swift.org/t/proposal-soar-0013-idiomatic-naming-strategy/76242 "2024-12-17T08:43:10Z")

</div>

Hi folks! The proposal SOAR-0013: Idiomatic naming strategy for Swift OpenAPI Generator is now up and In Review: The review period will run until December 9th - please feel free to post your feedback either as a reply …

---

## [Vote for Swift support in Cloud Functions for Firebase](https://forums.swift.org/t/vote-for-swift-support-in-cloud-functions-for-firebase/76007)

<div class="topic-metadata">

**Author:** [@0xTim](https://forums.swift.org/u/0xTim)\
**Replies:** 2\
**Last updated:** [November 20, 2024, 6:48am UTC](https://forums.swift.org/t/vote-for-swift-support-in-cloud-functions-for-firebase/76007 "2024-11-20T06:48:10Z")

</div>

There is a pitch up for adding support for Swift to Cloud Functions to Firebase. Given Swift's great properties for serverless functions compared to some of the traditional languages currently used. If you would be inter…

---

## [Improving Crypto on All Platforms](https://forums.swift.org/t/improving-crypto-on-all-platforms/75330)

<div class="topic-metadata">

**Author:** [@0xTim](https://forums.swift.org/u/0xTim)\
**Replies:** 39\
**Last updated:** [October 28, 2024, 2:17pm UTC](https://forums.swift.org/t/improving-crypto-on-all-platforms/75330 "2024-10-28T14:17:51Z")

</div>

To be clear - this post is not supposed to be a criticism of Swift Crypto but more a call for discussion and some constructive feedback. When Swift Crypto was introduced the crypto story on non-Apple platforms was painf…

---

## [Introducing swift-ip: a portable library for working with IP addresses](https://forums.swift.org/t/introducing-swift-ip-a-portable-library-for-working-with-ip-addresses/75438)

<div class="topic-metadata">

**Author:** [@taylorswift](https://forums.swift.org/u/taylorswift)\
**Replies:** 2\
**Last updated:** [October 18, 2024, 1:58pm UTC](https://forums.swift.org/t/introducing-swift-ip-a-portable-library-for-working-with-ip-addresses/75438 "2024-10-18T13:58:54Z")

</div>

hi all, i’m pleased to announce the initial public release of the swift-ip library — a portable, Foundation-free library for working with IP addresses. Why use swift-ip? The IP address types defined by the Network fra…

---

## [\[Proposal\] SOAR-0012: Generate enums for server variables](https://forums.swift.org/t/proposal-soar-0012-generate-enums-for-server-variables/74737)

<div class="topic-metadata">

**Author:** [@Honza\_Dvorsky](https://forums.swift.org/u/Honza_Dvorsky)\
**Replies:** 14\
**Last updated:** [October 8, 2024, 6:52am UTC](https://forums.swift.org/t/proposal-soar-0012-generate-enums-for-server-variables/74737 "2024-10-08T06:52:19Z")

</div>

Hi all, The proposal SOAR-0012: Generate enums for server variables for Swift OpenAPI Generator is now up and In Review: The review period will run until October 1st, 2024 - please post your feedback either as a reply …

---

## [Can I wrap libuv with swift-nio?](https://forums.swift.org/t/can-i-wrap-libuv-with-swift-nio/74413)

<div class="topic-metadata">

**Author:** [@RussBaz](https://forums.swift.org/u/RussBaz)\
**Replies:** 8\
**Last updated:** [September 26, 2024, 8:51am UTC](https://forums.swift.org/t/can-i-wrap-libuv-with-swift-nio/74413 "2024-09-26T08:51:18Z")

</div>

Hi. As food for thought, I am interested in finding out if swift-nio can be used with libuv. Their architecture seems similar and compatible from a bird's eye view. However, I am getting a bit lost at what custom parts …

---

## [Challenges setting up a Swift Package Registry Server generated with swift-openapi-generator](https://forums.swift.org/t/challenges-setting-up-a-swift-package-registry-server-generated-with-swift-openapi-generator/74288)

<div class="topic-metadata">

**Author:** [@mackoj](https://forums.swift.org/u/mackoj)\
**Replies:** 7\
**Last updated:** [August 31, 2024, 8:14pm UTC](https://forums.swift.org/t/challenges-setting-up-a-swift-package-registry-server-generated-with-swift-openapi-generator/74288 "2024-08-31T20:14:31Z")

</div>

Hi, I’m currently trying to setup a Swift Package Registry(SE-0292 / SE-0321) server using swift-openapi-generator based on the official YAML file: registry.openapi.yaml. The goal is to securely store and share our inte…

---

## [Announcing Swift HTTP Types](https://forums.swift.org/t/announcing-swift-http-types/66088)

<div class="topic-metadata">

**Author:** [@Guoye](https://forums.swift.org/u/Guoye)\
**Replies:** 19\
**Last updated:** [August 14, 2024, 8:37pm UTC](https://forums.swift.org/t/announcing-swift-http-types/66088 "2024-08-14T20:37:37Z")

</div>

We're happy to introduce a Swift package for shared HTTP currency types. Details are on the Swift.org blog: Introducing Swift HTTP Types

---

## [Linux Static SDK and main-snapshot (in)compatibility?](https://forums.swift.org/t/linux-static-sdk-and-main-snapshot-in-compatibility/73271)

<div class="topic-metadata">

**Author:** [@gregcotten](https://forums.swift.org/u/gregcotten)\
**Replies:** 5\
**Last updated:** [August 5, 2024, 9:41am UTC](https://forums.swift.org/t/linux-static-sdk-and-main-snapshot-in-compatibility/73271 "2024-08-05T09:41:29Z")

</div>

Using main-snapshot-2024-07-15 (installed via swiftly) and swift-DEVELOPMENT-SNAPSHOT-2024-07-02-a\_static-linux-0.0.1.artifactbundle.tar.gz on Ubuntu 22.04 (as recommended by swift.org) with: swift package init --t…

---

## [Add a deploy SwiftPM plugin and a Swift-based DSL to the Swift runtime for AWS Lambda](https://forums.swift.org/t/add-a-deploy-swiftpm-plugin-and-a-swift-based-dsl-to-the-swift-runtime-for-aws-lambda/71564)

<div class="topic-metadata">

**Author:** [@esraaeiid](https://forums.swift.org/u/esraaeiid)\
**Replies:** 3\
**Last updated:** [July 31, 2024, 3:41am UTC](https://forums.swift.org/t/add-a-deploy-swiftpm-plugin-and-a-swift-based-dsl-to-the-swift-runtime-for-aws-lambda/71564 "2024-07-31T03:41:29Z")

</div>

Hello Swift Community, I'm Esraa Eid, and I'll be working on the Add a deploy SwiftPM plugin and a Swift-based DSL to the Swift runtime for AWS Lambda project as part of GSoC 2024, with @sebsto as my mentor. I want to …

---

## [Another taylorswift post-mortem](https://forums.swift.org/t/another-taylorswift-post-mortem/73139)

<div class="topic-metadata">

**Author:** [@taylorswift](https://forums.swift.org/u/taylorswift)\
**Replies:** 19\
**Last updated:** [July 26, 2024, 4:12pm UTC](https://forums.swift.org/t/another-taylorswift-post-mortem/73139 "2024-07-26T16:12:33Z")

</div>

i want to preface this by saying that the events i’m about to describe only affected worker nodes deep within our infrastructure, and it had no material impact on any of our clients. nobody is at fault and i am only shar…

---

## [HTML framework for Swift](https://forums.swift.org/t/html-framework-for-swift/60241)

<div class="topic-metadata">

**Author:** [@Kyle-Ye](https://forums.swift.org/u/Kyle-Ye)\
**Replies:** 14\
**Last updated:** [July 18, 2024, 12:20am UTC](https://forums.swift.org/t/html-framework-for-swift/60241 "2024-07-18T00:20:03Z")

</div>

When I was doing some hobby project on swift server side. There is quite a few times I also need to write some frontend code.(Simple CSS + HTML or some advanced feature using vuejs and tailwindcss) For most case our fro…

---

## [New ServiceLifecycle APIs](https://forums.swift.org/t/new-servicelifecycle-apis/65521)

<div class="topic-metadata">

**Author:** [@FranzBusch](https://forums.swift.org/u/FranzBusch)\
**Replies:** 12\
**Last updated:** [July 17, 2024, 3:30pm UTC](https://forums.swift.org/t/new-servicelifecycle-apis/65521 "2024-07-17T15:30:17Z")

</div>

A couple of weeks ago we tagged a new 2.0.0 alpha version of Swift Service Lifecycle which fully embraces Swift Structured Concurrency. Service Lifecycle's goal is to provide a library that helps applications to manage …

---

## [Linux Static SDK with 5.10.1? Or only v6?](https://forums.swift.org/t/linux-static-sdk-with-5-10-1-or-only-v6/72533)

<div class="topic-metadata">

**Author:** [@patlux](https://forums.swift.org/u/patlux)\
**Replies:** 3\
**Last updated:** [June 19, 2024, 5:51pm UTC](https://forums.swift.org/t/linux-static-sdk-with-5-10-1-or-only-v6/72533 "2024-06-19T17:51:44Z")

</div>

Hey all, I'm really new to swift. Started with it after seeing the wwdc videos. I already developed a small software with it and it's really a great and "easy" language. I tried to use Swift.org - Getting Started with…

---

## [Collecting Design Requirements for a General Purpose Logging Backend](https://forums.swift.org/t/collecting-design-requirements-for-a-general-purpose-logging-backend/72478)

<div class="topic-metadata">

**Author:** [@dimi](https://forums.swift.org/u/dimi)\
**Replies:** 7\
**Last updated:** [June 14, 2024, 4:02pm UTC](https://forums.swift.org/t/collecting-design-requirements-for-a-general-purpose-logging-backend/72478 "2024-06-14T16:02:11Z")

</div>

After discussing this somewhat on slack, we decided it would be a good idea to collect design requirements from the server community for what you would need or like to see out of a "default choice" general-purpose loggin…

---

## [Performance engineering fun times with NIO NFS3, Instruments, and ChatGPT 4o](https://forums.swift.org/t/performance-engineering-fun-times-with-nio-nfs3-instruments-and-chatgpt-4o/71930)

<div class="topic-metadata">

**Author:** [@johannesweiss](https://forums.swift.org/u/johannesweiss)\
**Replies:** 0\
**Last updated:** [May 18, 2024, 6:31pm UTC](https://forums.swift.org/t/performance-engineering-fun-times-with-nio-nfs3-instruments-and-chatgpt-4o/71930 "2024-05-18T18:31:33Z")

</div>

Today, in a completely personal endeavour, I completely nerd-sniped myself when I was wanting to see if a state of the art LLM (I used ChatGPT 4o because it's new) can be used as a performance engineer's assistant. And I…

[Previous page](https://forums.swift.org/c/server/serverdev/14.md)

[Next page](https://forums.swift.org/c/server/serverdev/14.md?page=2)
