SwiftApi.Core
10.0.3
dotnet add package SwiftApi.Core --version 10.0.3
NuGet\Install-Package SwiftApi.Core -Version 10.0.3
<PackageReference Include="SwiftApi.Core" Version="10.0.3" />
<PackageVersion Include="SwiftApi.Core" Version="10.0.3" />
<PackageReference Include="SwiftApi.Core" />
paket add SwiftApi.Core --version 10.0.3
#r "nuget: SwiftApi.Core, 10.0.3"
#:package SwiftApi.Core@10.0.3
#addin nuget:?package=SwiftApi.Core&version=10.0.3
#tool nuget:?package=SwiftApi.Core&version=10.0.3
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
| Product | Versions 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. |
-
net10.0
- Microsoft.AspNetCore.Authentication (>= 2.3.9)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 10.0.3)
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.