Skip to content

[C#] Requests should set User-Agent #2367

@jqr

Description

@jqr

Revision: 62fbcb9

Most of the generated clients set a User-Agent to something like ruby-swagger-1.2.3. But the Csharp client does not.

The User-Agent string is really handy for server side debugging of client issues as well as alerting customers to new versions or issues with their deployed version.

You can see how we're currently fixing this in the generated clients in DocRaptor/docraptor-csharp@245cdbc

At the risk of overloading this issue, I'd love to see a standard way for specifying this version string in the language-config.son so that we could have consistent use across languages. Has that been discussed?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions