Skip to content

Commit

Permalink
feat: Added OpenApiGenerator.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Jan 20, 2024
1 parent 55bed2e commit 39e1945
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 103 deletions.
100 changes: 0 additions & 100 deletions docs/openapi.nswag

This file was deleted.

14 changes: 11 additions & 3 deletions src/libs/OpenAI/OpenAI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,19 @@
<PackageTags>api;client;sdk;dotnet;swagger;openapi;specification;openai;generated;nswag;functions;gpt-3.5;gpt-4;chatgpt;generator;source generator</PackageTags>
</PropertyGroup>

<ItemGroup>
<AdditionalFiles Include="$(SolutionDir)docs\openapi.nswag" />
</ItemGroup>
<PropertyGroup Label="OpenApiGenerator">
<OpenApiGenerator_Namespace>OpenAI</OpenApiGenerator_Namespace>
<OpenApiGenerator_ClassName>OpenAiApi</OpenApiGenerator_ClassName>
<OpenApiGenerator_GenerateModels>true</OpenApiGenerator_GenerateModels>
<OpenApiGenerator_IncludeModels>Permission</OpenApiGenerator_IncludeModels>
<OpenApiGenerator_GenerateSdk>false</OpenApiGenerator_GenerateSdk>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="OpenApiGenerator" Version="0.1.0-dev.33">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="PolySharp" Version="1.13.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
File renamed without changes.

0 comments on commit 39e1945

Please sign in to comment.