https://github.com/permitio/permit-dotnet
https://github.com/permitio/permit-dotnet
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/permitio/permit-dotnet
- Owner: permitio
- License: apache-2.0
- Created: 2022-01-17T15:35:50.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-26T16:53:55.000Z (about 1 year ago)
- Last Synced: 2025-05-11T07:12:54.558Z (about 1 year ago)
- Language: C#
- Size: 1.51 MB
- Stars: 3
- Watchers: 4
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Permit.io client for dotnet
dotnet client library for the Permit.io full-stack permissions platform.
# To update the API autogenerated code for the Permit.io API
1. Install the latest version of the `OpenAPI Generator` CLI tool from https://openapi-generator.tech/docs/installation
2. Run the following command to generate both the PDP and main API client code:
```bash
./generate_openapi.sh
```
This script will:
- Download the latest OpenAPI schema files from Permit.io
- Transform the OpenAPI union types to simple types
- Generate the client code for both the main Permit.io API and PDP API
- Fix status code checks to support 204 status codes
## Installation
```
Add nuget package to your project and use with:
using Permit
using Permit.Models
```