Skip to content

Commit

Permalink
fix(csharp): include readme
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions-bot committed Mar 8, 2024
1 parent aea0cf7 commit 5d1af59
Show file tree
Hide file tree
Showing 6 changed files with 434 additions and 24 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,12 @@ jobs:

- name: prepare csharp-dotnet-sdk
run: |
echo 'building'
dotnet build --configuration Release
echo 'packing'
dotnet pack \
--no-restore \
--no-build \
--configuration Release \
--output .
echo 'testing'
dotnet test --configuration Release --no-restore
dotnet pack --configuration Release --no-build --no-restore --output .
- uses: cycjimmy/[email protected]
with:
semantic_version: 18
Expand Down
10 changes: 5 additions & 5 deletions AffixApi.Api.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
VisualStudioVersion = 12.0.0.0
MinimumVisualStudioVersion = 10.0.0.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AffixApi.Api", "src\AffixApi.Api\AffixApi.Api.csproj", "{27125DFC-D800-4CFB-AC8D-40AD1F032B62}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AffixApi.Api", "src\AffixApi.Api\AffixApi.Api.csproj", "{97B679BB-DD60-4EA8-8730-26A48A5AC449}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AffixApi.Api.Test", "src\AffixApi.Api.Test\AffixApi.Api.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{27125DFC-D800-4CFB-AC8D-40AD1F032B62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{27125DFC-D800-4CFB-AC8D-40AD1F032B62}.Debug|Any CPU.Build.0 = Debug|Any CPU
{27125DFC-D800-4CFB-AC8D-40AD1F032B62}.Release|Any CPU.ActiveCfg = Release|Any CPU
{27125DFC-D800-4CFB-AC8D-40AD1F032B62}.Release|Any CPU.Build.0 = Release|Any CPU
{97B679BB-DD60-4EA8-8730-26A48A5AC449}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{97B679BB-DD60-4EA8-8730-26A48A5AC449}.Debug|Any CPU.Build.0 = Debug|Any CPU
{97B679BB-DD60-4EA8-8730-26A48A5AC449}.Release|Any CPU.ActiveCfg = Release|Any CPU
{97B679BB-DD60-4EA8-8730-26A48A5AC449}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ Things to keep in mind:
This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 2023-03-01
- SDK version: 1.1.37
- SDK version: 1.1.38
- Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen

<a name="frameworks-supported"></a>
Expand Down
4 changes: 1 addition & 3 deletions src/AffixApi.Api/AffixApi.Api.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<PackageReadmeFile>README.md</PackageReadmeFile>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyName>AffixApi.Api</AssemblyName>
Expand All @@ -13,7 +12,7 @@
<Description>A library generated from a OpenAPI doc</Description>
<Copyright>No Copyright</Copyright>
<RootNamespace>AffixApi.Api</RootNamespace>
<Version>1.1.37</Version>
<Version>1.1.38</Version>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\AffixApi.Api.xml</DocumentationFile>
<RepositoryUrl>https://github.com/GIT_USER_ID/GIT_REPO_ID.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand All @@ -26,7 +25,6 @@
<PackageReference Include="RestSharp" Version="106.11.7" />
<PackageReference Include="Polly" Version="7.2.1" />
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
<None Include="README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions src/AffixApi.Api/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "1.1.37";
public const string Version = "1.1.38";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -107,7 +107,7 @@ public class Configuration : IReadableConfiguration
public Configuration()
{
Proxy = null;
UserAgent = "OpenAPI-Generator/1.1.37/csharp";
UserAgent = "OpenAPI-Generator/1.1.38/csharp";
BasePath = "https://api.affixapi.com";
DefaultHeaders = new ConcurrentDictionary<string, string>();
ApiKey = new ConcurrentDictionary<string, string>();
Expand Down Expand Up @@ -458,7 +458,7 @@ public static String ToDebugReport()
report += " OS: " + System.Environment.OSVersion + "\n";
report += " .NET Framework Version: " + System.Environment.Version + "\n";
report += " Version of the API: 2023-03-01\n";
report += " SDK Package Version: 1.1.37\n";
report += " SDK Package Version: 1.1.38\n";

return report;
}
Expand Down
Loading

0 comments on commit 5d1af59

Please sign in to comment.