Closed jdoxley closed 1 year ago
pog
Also! Please enable Swagger Gen. You may need an NuGet package for this, but here is an example config: https://github.com/Soyvolon/VirtualPDrive/blob/bba4dc9b2bdc344e2991bec8c2ffbadfe3e67a8b/VirtualPDrive.API/Startup.cs#L27-L43
edit:
oh and you will want this in your .csproj file;
<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
Make sure you familiarize yourself with our contributing guidelines.
Describe the PR
Add a public api for user info and billet info
Closes
Closes #408
Notes
Any other notes go here.
https://localhost:5001/api/userinfo?user=11345
results in:https://localhost:5001/api/billetinfo?enum=AvalancheThreeThree
results in:https://localhost:5001/api/billetinfo?enum=AvalancheThreeThree&role=Trooper
results in: