SwiftApi.Core 10.0.3

dotnet add package SwiftApi.Core --version 10.0.3
                    
NuGet\Install-Package SwiftApi.Core -Version 10.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SwiftApi.Core" Version="10.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SwiftApi.Core" Version="10.0.3" />
                    
Directory.Packages.props
<PackageReference Include="SwiftApi.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SwiftApi.Core --version 10.0.3
                    
#r "nuget: SwiftApi.Core, 10.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SwiftApi.Core@10.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SwiftApi.Core&version=10.0.3
                    
Install as a Cake Addin
#tool nuget:?package=SwiftApi.Core&version=10.0.3
                    
Install as a Cake Tool

SwiftApi.Core

SwiftApi.Core is a lightweight and extensible core component library designed to power the SwiftApi ecosystem. It provides shared types, and utility classes to support dynamic API generation in .NET applications.

โœจ Features

  • ๐Ÿ”ง Core types and base classes for SwiftApi
  • ๐Ÿงฉ Attribute-based endpoint configuration
  • ๐Ÿงผ Clean and minimal dependencies
  • โœ… Nullable and implicit usings enabled
  • ๐Ÿš€ Built with .NET 8

๐Ÿ“ฆ Installation

Install from NuGet:

dotnet add package SwiftApi.Core

Or via the Package Manager Console:

Install-Package SwiftApi.Core

๐Ÿ›  Usage

public interface IUserService
{
    [GetAction("users")]
    IEnumerable<UserDto> GetAllUsers();

    [PostAction("users")]
    UserDto CreateUser(UserDto user);
}

The above interface can be used by the SwiftApi runtime to generate endpoints dynamically.

๐Ÿ“„ License

This project is licensed under the MIT License.

๐Ÿ™‹โ€โ™‚๏ธ Author

Developed by Nawaf AL-Maqbali โ€“ GitHub
Company: Rihal

๐Ÿ”— Repository

https://github.com/nawaf91maqbali/swift-api

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on SwiftApi.Core:

Package Downloads
SwiftApi

SwiftApi: Turn service interfaces into fully functional API endpoints without writing controllers.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.3 119 3/8/2026
10.0.2 127 1/7/2026
10.0.1 207 12/24/2025
10.0.0 150 12/21/2025
9.0.0 240 9/8/2025
8.0.1 201 7/30/2025
8.0.0 616 7/22/2025