amingolmahalle / HttpClientToCurlGenerator

The HttpClientToCurl is a NuGet package for generating curl script of HttpClient in .NET ( C# | CSharp | Dotnet ) supported features: Post, Get, Put, and Delete. content types: application/json, text/xml, application/x-www-form-urlencoded
https://www.nuget.org/packages/HttpClientToCurl
MIT License
51 stars 11 forks source link

Use readme.md file in nuget readme #25

Closed naeemaei closed 5 months ago

naeemaei commented 6 months ago

It's better to use the readme file content in nuget description. To achieve this we should create a HttpClientToCurlGenerator.nuspec file in the project like this:

<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
    <metadata>
        <!-- Required elements-->
        <id>HttpClientToCurlGenerator</id>
        <version>2.0.3</version>
        <description>An extension for generating Curl script of HttpClient</description>
        <authors>Amin</authors>
        <summary>
          This extension will help you to see whatever is set in HttpClient in the form of a curl script.
        </summary>
        <releaseNotes>
          ...
        </releaseNotes>

        <projectUrl>https://github.com/amingolmahalle/HttpClientToCurlGenerator</projectUrl>
        <repository type="git" url="https://github.com/amingolmahalle/HttpClientToCurlGenerator.git" branch="main" />

        <license type="expression">MIT</license>
        <requireLicenseAcceptance>false</requireLicenseAcceptance>
        <tags>csharp HTTP httpclient curl</tags>
        <icon>icon.png</icon>
        <readme>README.md</readme>
    </metadata>
    <!-- Optional 'files' node -->

    <files> 
        <file src="README.md" /> 
    </files>
</package>
amingolmahalle commented 6 months ago

Nice idea @naeemaei . I will do it.

amingolmahalle commented 5 months ago

thanks, dear @naeemaei. perfect!

amingolmahalle commented 5 months ago

closed