SwiftApi.Core
8.0.1
dotnet add package SwiftApi.Core --version 8.0.1
NuGet\Install-Package SwiftApi.Core -Version 8.0.1
<PackageReference Include="SwiftApi.Core" Version="8.0.1" />
<PackageVersion Include="SwiftApi.Core" Version="8.0.1" />
<PackageReference Include="SwiftApi.Core" />
paket add SwiftApi.Core --version 8.0.1
#r "nuget: SwiftApi.Core, 8.0.1"
#:package SwiftApi.Core@8.0.1
#addin nuget:?package=SwiftApi.Core&version=8.0.1
#tool nuget:?package=SwiftApi.Core&version=8.0.1
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 | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- No dependencies.
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.