# \#vapor

**URL:** https://forums.swift.org/tag/vapor/69.md

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

---

## [Showcasing a Full-Stack Swift Project: Linux Hardware Monitoring with Vapor & SwiftUI](https://forums.swift.org/t/showcasing-a-full-stack-swift-project-linux-hardware-monitoring-with-vapor-swiftui/89762)

<div class="topic-metadata">

**Author:** [@mege](https://forums.swift.org/u/mege)\
**Replies:** 0\
**Last updated:** [September 25, 2026, 11:41am UTC](https://forums.swift.org/t/showcasing-a-full-stack-swift-project-linux-hardware-monitoring-with-vapor-swiftui/89762 "2026-09-25T11:41:56Z")

</div>

Hi everyone, As a computer engineering student preparing for GSoC 2027, I wanted to dive deep into Server-side Swift and demonstrate its capability outside the Apple ecosystem. I recently built SwiftServerMonitor, a fu…

---

## [SecurityKit: Production-Ready RBAC & Token Management, Now Open Source](https://forums.swift.org/t/securitykit-production-ready-rbac-token-management-now-open-source/86988)

<div class="topic-metadata">

**Author:** [@cabrerasiel](https://forums.swift.org/u/cabrerasiel)\
**Replies:** 5\
**Last updated:** [September 14, 2026, 8:52pm UTC](https://forums.swift.org/t/securitykit-production-ready-rbac-token-management-now-open-source/86988 "2026-09-14T20:52:38Z")

</div>

SecurityKit: Production-Ready RBAC & Token Management, Now Open Source A modular Swift package that gives Vapor 4 applications a complete authentication and authorization stack — one that you'd actually want to ship. I…

---

## [Passage – an identity and authentication framework for Vapor 4](https://forums.swift.org/t/passage-an-identity-and-authentication-framework-for-vapor-4/89006)

<div class="topic-metadata">

**Author:** [@rozd](https://forums.swift.org/u/rozd)\
**Replies:** 0\
**Last updated:** [August 16, 2026, 6:33pm UTC](https://forums.swift.org/t/passage-an-identity-and-authentication-framework-for-vapor-4/89006 "2026-08-16T18:33:54Z")

</div>

Hi everyone, I'd like to introduce Passage, an identity management and authentication framework for Vapor applications. It has recently moved under the vapor-community organisation, and I'd love to get feedback from thi…

---

## [.env files are not found when running unit tests using Xcode 26.4](https://forums.swift.org/t/env-files-are-not-found-when-running-unit-tests-using-xcode-26-4/86043)

<div class="topic-metadata">

**Author:** [@marco.masser](https://forums.swift.org/u/marco.masser)\
**Replies:** 4\
**Last updated:** [April 17, 2026, 11:41am UTC](https://forums.swift.org/t/env-files-are-not-found-when-running-unit-tests-using-xcode-26-4/86043 "2026-04-17T11:41:45Z")

</div>

This isn’t directly related to Vapor and certainly not Vapor’s fault, but I’ve run into this issue in a Vapor project and I assume other people who follow Vapor’s documentation are affected by this, too: According to th…

---

## [LeafKit 1.14.2: Properly HTML-escape collection values](https://forums.swift.org/t/leafkit-1-14-2-properly-html-escape-collection-values/85340)

<div class="topic-metadata">

**Author:** [@gwynne](https://forums.swift.org/u/gwynne)\
**Replies:** 0\
**Last updated:** [March 14, 2026, 1:08am UTC](https://forums.swift.org/t/leafkit-1-14-2-properly-html-escape-collection-values/85340 "2026-03-14T01:08:57Z")

</div>

LeafKit 1.14.2 has just been released to address a vulnerability where values of array or dictionary type would not be HTML-escaped when used in Leaf variable substitution tags, allowing XSS injection if the content of t…

---

## [Xcode Package no more Run destination](https://forums.swift.org/t/xcode-package-no-more-run-destination/84798)

<div class="topic-metadata">

**Author:** [@simon68](https://forums.swift.org/u/simon68)\
**Replies:** 5\
**Last updated:** [February 18, 2026, 7:28pm UTC](https://forums.swift.org/t/xcode-package-no-more-run-destination/84798 "2026-02-18T19:28:51Z")

</div>

Hi, I am currently acquiring the basics for Swift Vapor development. I found the e-book SWIFT FOR SERVER SIDE DEVELOPMENT WITH VAPOR which seems to be the only doc available of this type and which I am reading through, …

---

## [Introducing GraphQL Vapor & Hummingbird Packages](https://forums.swift.org/t/introducing-graphql-vapor-hummingbird-packages/84758)

<div class="topic-metadata">

**Author:** [@NeedleInAJayStack](https://forums.swift.org/u/NeedleInAJayStack)\
**Replies:** 1\
**Last updated:** [February 17, 2026, 11:27pm UTC](https://forums.swift.org/t/introducing-graphql-vapor-hummingbird-packages/84758 "2026-02-17T23:27:58Z")

</div>

The GraphQLSwift organization is excited to publicly release graphql-vapor and graphql-hummingbird, which simplify exposing GraphQL APIs through the Vapor and Hummingbird server frameworks. Correctly exposing a GraphQL …

---

## [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…

---

## [Add Timestamps to Vapor Logs - How To?](https://forums.swift.org/t/add-timestamps-to-vapor-logs-how-to/80643)

<div class="topic-metadata">

**Author:** [@RussBaz](https://forums.swift.org/u/RussBaz)\
**Replies:** 2\
**Last updated:** [June 25, 2025, 5:48am UTC](https://forums.swift.org/t/add-timestamps-to-vapor-logs-how-to/80643 "2025-06-25T05:48:43Z")

</div>

Hi. I would like to update the default Vapor logs format to include a timestamp. Can anyone point at how to do it? Thanks!

---

## [How to filter a nested relationship with Vapor Fluent](https://forums.swift.org/t/how-to-filter-a-nested-relationship-with-vapor-fluent/77973)

<div class="topic-metadata">

**Author:** [@AndrewBoryk](https://forums.swift.org/u/AndrewBoryk)\
**Replies:** 3\
**Last updated:** [February 25, 2025, 1:57pm UTC](https://forums.swift.org/t/how-to-filter-a-nested-relationship-with-vapor-fluent/77973 "2025-02-25T13:57:28Z")

</div>

I have a relationship that is structured like: Book { id: UUID author: Author } Author { id: UUID genre: Genre } Genre { id: UUID name: String } I want to be able to query for books that have author…

---

## [PostgresKit: No way to set transaction Isolation level?](https://forums.swift.org/t/postgreskit-no-way-to-set-transaction-isolation-level/78033)

<div class="topic-metadata">

**Author:** [@kwiky](https://forums.swift.org/u/kwiky)\
**Replies:** 0\
**Last updated:** [February 22, 2025, 3:31pm UTC](https://forums.swift.org/t/postgreskit-no-way-to-set-transaction-isolation-level/78033 "2025-02-22T15:31:35Z")

</div>

I’ve browsed the PostgresKit documentation and haven’t found any built-in API that lets you directly set the transaction isolation level. I’ve looked for a transaction method with an isolation parameter—something like tr…

---

## [Connecting the dots: Vapor and SwiftData](https://forums.swift.org/t/connecting-the-dots-vapor-and-swiftdata/66698)

<div class="topic-metadata">

**Author:** [@torstenbernhard](https://forums.swift.org/u/torstenbernhard)\
**Replies:** 12\
**Last updated:** [December 17, 2024, 6:15am UTC](https://forums.swift.org/t/connecting-the-dots-vapor-and-swiftdata/66698 "2024-12-17T06:15:31Z")

</div>

For work with external databases, there are many packages available (Vapour, Fluent, Postgres etc.). There are also excellent tutorials, showing how to use Vapor in SwiftUI/Core Data apps. The upcoming SwiftData simpli…

---

## [Static Linux SDK with mimalloc, and toy Vapor benchmark](https://forums.swift.org/t/static-linux-sdk-with-mimalloc-and-toy-vapor-benchmark/75114)

<div class="topic-metadata">

**Author:** [@arasan01](https://forums.swift.org/u/arasan01)\
**Replies:** 4\
**Last updated:** [October 3, 2024, 6:26am UTC](https://forums.swift.org/t/static-linux-sdk-with-mimalloc-and-toy-vapor-benchmark/75114 "2024-10-03T06:26:48Z")

</div>

The Static Linux SDK uses Musl, but there seem to be various opinions about Musl's allocator. I don't think it's a bad thing, but I wanted to see what a Static Linux SDK with a different allocator would be like, so I tri…

---

## [Vapor: failed to fetch an image or build from source](https://forums.swift.org/t/vapor-failed-to-fetch-an-image-or-build-from-source/74942)

<div class="topic-metadata">

**Author:** [@pbalduz](https://forums.swift.org/u/pbalduz)\
**Replies:** 3\
**Last updated:** [October 2, 2024, 12:36pm UTC](https://forums.swift.org/t/vapor-failed-to-fetch-an-image-or-build-from-source/74942 "2024-10-02T12:36:54Z")

</div>

Hey there! I'm a bit new into Swift on the server and I'm trying to deploy a Vapor app to Fly.io platform. Vapor's template with default Dockerfile works fine and I was able to deploy a version and use it. The problem c…

---

## [Making SFTP requests from a Vapor application?](https://forums.swift.org/t/making-sftp-requests-from-a-vapor-application/69940)

<div class="topic-metadata">

**Author:** [@sbeitzel](https://forums.swift.org/u/sbeitzel)\
**Replies:** 1\
**Last updated:** [February 9, 2024, 5:06pm UTC](https://forums.swift.org/t/making-sftp-requests-from-a-vapor-application/69940 "2024-02-09T17:06:46Z")

</div>

I'm working on a server application that's deployed to Heroku. The application is supposed to fetch, periodically, a data dump from a remote service and then transform the data into something useful. My problem, here, is…

---

## [Advice on non-blocking communication via UART/SPI with swift-nio/vapor](https://forums.swift.org/t/advice-on-non-blocking-communication-via-uart-spi-with-swift-nio-vapor/68871)

<div class="topic-metadata">

**Author:** [@theBitThatBytes](https://forums.swift.org/u/theBitThatBytes)\
**Replies:** 7\
**Last updated:** [December 11, 2023, 11:15am UTC](https://forums.swift.org/t/advice-on-non-blocking-communication-via-uart-spi-with-swift-nio-vapor/68871 "2023-12-11T11:15:02Z")

</div>

Hey, I'm looking for (plausibility) advice for the following idea: A little "why": Since most commercial data loggers and open source data loggers are not non-blocking or event-driven and do not offer sophisticated real…

---

## [Vapor vs Perfect?](https://forums.swift.org/t/vapor-vs-perfect/18599)

<div class="topic-metadata">

**Author:** [@JetForMe](https://forums.swift.org/u/JetForMe)\
**Replies:** 13\
**Last updated:** [December 3, 2023, 9:49am UTC](https://forums.swift.org/t/vapor-vs-perfect/18599 "2023-12-03T09:49:17Z")

</div>

I came across Vapor the other day and wondered if it were an "official" Swift.org project. I guess it's not, but it uses SwiftNIO, which is? In any case, a little more googling turned up perfect.org, and I'm wondering if…

---

## [Vapor + HTMX](https://forums.swift.org/t/vapor-htmx/68438)

<div class="topic-metadata">

**Author:** [@RussBaz](https://forums.swift.org/u/RussBaz)\
**Replies:** 0\
**Last updated:** [November 13, 2023, 7:40pm UTC](https://forums.swift.org/t/vapor-htmx/68438 "2023-11-13T19:40:23Z")

</div>

Hi. Have you tried using HTMX with Vapor? I find the concept of HTMX quite refreshing. If you are new to HTMX, then here is the Fireship 100 seconds video: htmx in 100 seconds and here is the official intro by htmx.org …

---

## [Introducing Swift/Vapor Backend Starter Template for SAAS Projects](https://forums.swift.org/t/introducing-swift-vapor-backend-starter-template-for-saas-projects/68263)

<div class="topic-metadata">

**Author:** [@petrpavlik1](https://forums.swift.org/u/petrpavlik1)\
**Replies:** 0\
**Last updated:** [November 5, 2023, 1:27pm UTC](https://forums.swift.org/t/introducing-swift-vapor-backend-starter-template-for-saas-projects/68263 "2023-11-05T13:27:02Z")

</div>

I've decided to open source a starter template I'd be using to build backends for my projects using server-side Swift and Vapor. It's an extension of the starter template generated by the Vapor Toolbox, expanded by featu…

---

## [VaporToOpenAPI - Generate OpenAPI Documentation from Vapor Routes](https://forums.swift.org/t/vaportoopenapi-generate-openapi-documentation-from-vapor-routes/63944)

<div class="topic-metadata">

**Author:** [@dankinsoid](https://forums.swift.org/u/dankinsoid)\
**Replies:** 2\
**Last updated:** [October 29, 2023, 11:38am UTC](https://forums.swift.org/t/vaportoopenapi-generate-openapi-documentation-from-vapor-routes/63944 "2023-10-29T11:38:03Z")

</div>

I'm glad to introduce VaporToOpenAPI - the Swift library that automates the OpenAPI documentation process for your Vapor APIs. By adding simple API descriptions to your routes, VaporToOpenAPI generates fully-compliant Op…

---

## [Vapor 4.84.2: Fix DoS Vulnerability in HTTP Error Handling](https://forums.swift.org/t/vapor-4-84-2-fix-dos-vulnerability-in-http-error-handling/67682)

<div class="topic-metadata">

**Author:** [@0xTim](https://forums.swift.org/u/0xTim)\
**Replies:** 0\
**Last updated:** [October 5, 2023, 11:29am UTC](https://forums.swift.org/t/vapor-4-84-2-fix-dos-vulnerability-in-http-error-handling/67682 "2023-10-05T11:29:10Z")

</div>

We've just fixed a vulnerability in Vapor's HTTP Error handling where an attacker could send a malformed request which would trigger a crash leading to a Denial of Service attack. You can see more details in the blog pos…

---

## [Recommendations JWS and x5c / X.509 certificate chains?](https://forums.swift.org/t/recommendations-jws-and-x5c-x-509-certificate-chains/58163)

<div class="topic-metadata">

**Author:** [@willft](https://forums.swift.org/u/willft)\
**Replies:** 3\
**Last updated:** [May 1, 2023, 11:38pm UTC](https://forums.swift.org/t/recommendations-jws-and-x5c-x-509-certificate-chains/58163 "2023-05-01T23:38:14Z")

</div>

Are there any well known packages which provide support for verifying X.509 certificate chains? Specifically I’m looking to verify a JWS which has an x5c header. Any packages which support JWS decoding would also be very…

---

## [File-based routing for Vapor apps](https://forums.swift.org/t/file-based-routing-for-vapor-apps/63563)

<div class="topic-metadata">

**Author:** [@gonzalonunez](https://forums.swift.org/u/gonzalonunez)\
**Replies:** 0\
**Last updated:** [March 7, 2023, 5:38pm UTC](https://forums.swift.org/t/file-based-routing-for-vapor-apps/63563 "2023-03-07T17:38:30Z")

</div>

I wrote a small Swift Package plugin that enables file-based routing for Vapor apps. It works by generating code at build-time that registers routes like you would in any normal Vapor app.

---

## [Using dynamicMemberLookup to constraint PartialKeyPath](https://forums.swift.org/t/using-dynamicmemberlookup-to-constraint-partialkeypath/63316)

<div class="topic-metadata">

**Author:** [@mtsrodrigues](https://forums.swift.org/u/mtsrodrigues)\
**Replies:** 0\
**Last updated:** [February 23, 2023, 6:34pm UTC](https://forums.swift.org/t/using-dynamicmemberlookup-to-constraint-partialkeypath/63316 "2023-02-23T18:34:39Z")

</div>

I've found a workaround for the absence of variadic generics key paths using dynamicMemberLookup that I thought it would be interesting to share :grinning\_face\_with\_smiling\_eyes: The Problem Vapor currently uses the fol…

---

## [Loading local resources statically to a vapor server](https://forums.swift.org/t/loading-local-resources-statically-to-a-vapor-server/63233)

<div class="topic-metadata">

**Author:** [@pkappos](https://forums.swift.org/u/pkappos)\
**Replies:** 4\
**Last updated:** [February 20, 2023, 7:12pm UTC](https://forums.swift.org/t/loading-local-resources-statically-to-a-vapor-server/63233 "2023-02-20T19:12:01Z")

</div>

Hello, In a current project that I am working on, I need to setup Vapor inside the iOS Application. Vapor starts loading an html file and a sequence of other resources like css, scripts, fonts etc. The problem is that J…

---

## [Leaf check if user is authenticated](https://forums.swift.org/t/leaf-check-if-user-is-authenticated/62709)

<div class="topic-metadata">

**Author:** [@henrikac](https://forums.swift.org/u/henrikac)\
**Replies:** 4\
**Last updated:** [January 22, 2023, 2:59pm UTC](https://forums.swift.org/t/leaf-check-if-user-is-authenticated/62709 "2023-01-22T14:59:30Z")

</div>

Hi, I finally got the authentication for my app set up and the next task is now to check inside Leaf templates whether the user is authenticated or not. I figured that, in the templates, I could do something like #if(u…

---

## [Rendering leaf form errors](https://forums.swift.org/t/rendering-leaf-form-errors/62641)

<div class="topic-metadata">

**Author:** [@henrikac](https://forums.swift.org/u/henrikac)\
**Replies:** 6\
**Last updated:** [January 19, 2023, 8:18pm UTC](https://forums.swift.org/t/rendering-leaf-form-errors/62641 "2023-01-19T20:18:59Z")

</div>

Hi, I have been searching in the documentation and all over Google all evening to find out how I would render form errors for individual form fields in Leaf - something like this \<form method="POST"\> \<input type="e…

---

## [Composing property wrappers in Swift with Vapor + Fluent](https://forums.swift.org/t/composing-property-wrappers-in-swift-with-vapor-fluent/56079)

<div class="topic-metadata">

**Author:** [@jacobcxdev](https://forums.swift.org/u/jacobcxdev)\
**Replies:** 1\
**Last updated:** [August 18, 2022, 1:29pm UTC](https://forums.swift.org/t/composing-property-wrappers-in-swift-with-vapor-fluent/56079 "2022-08-18T13:29:50Z")

</div>

I've implemented a system to automatically generate Fluent's Migrations by reflecting 'registered' Models, saving the boilerplate of creating them manually. To achieve this, I must allow the specification of any Database…

---

## [Being rejected in GSoC may also be helpful](https://forums.swift.org/t/being-rejected-in-gsoc-may-also-be-helpful/57515)

<div class="topic-metadata">

**Author:** [@ahmdyasser](https://forums.swift.org/u/ahmdyasser)\
**Replies:** 4\
**Last updated:** [July 5, 2022, 4:57am UTC](https://forums.swift.org/t/being-rejected-in-gsoc-may-also-be-helpful/57515 "2022-07-05T04:57:04Z")

</div>

GSoC 2022 result was three days ago and I was rejected. I won't lie that this made me a little sad till now, but the research I've done to finish my proposal helped me a lot and made me learn things I would never look fo…

---

## [Swift Vapor reducing Docker image size](https://forums.swift.org/t/swift-vapor-reducing-docker-image-size/57116)

<div class="topic-metadata">

**Author:** [@RichardPaulFM](https://forums.swift.org/u/RichardPaulFM)\
**Replies:** 13\
**Last updated:** [May 14, 2022, 6:36pm UTC](https://forums.swift.org/t/swift-vapor-reducing-docker-image-size/57116 "2022-05-14T18:36:13Z")

</div>

Good Day everyone, Im currently working on a server side project developed using "Vapor". Currently we are able to reduce the image size to 183 mb(which is think is pretty darn good) using swift:5.5-focal and running in…

[Next page](https://forums.swift.org/tag/vapor/69.md?match_all_tags=true&page=1&tags%5B%5D=vapor)
