Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

httpclient code snippet generator not generating content type #53

Open
spparida opened this issue Oct 19, 2020 · 2 comments
Open

httpclient code snippet generator not generating content type #53

spparida opened this issue Oct 19, 2020 · 2 comments

Comments

@spparida
Copy link

spparida commented Oct 19, 2020

Hello Team,

We are using openAPI-snippet significantly, we observed HttpClient(C#) is supported by the library recently. After implementation we observed that it's not generating Content-Type for HttpClient (C#), but it's coming for all other languages supported. Pls check below screenshot for your reference. Can you pls respond on this, is it something a known issue , will be taking care in coming days? Pls let me know. Thanks you in advance!

image

image

@ErikWittern
Copy link
Owner

@spparida As it seems that issue appears only in C#, but not when choosing other target languages, this must be an issue with https://github.com/Kong/httpsnippet, which OpenAPI-Snippet depends upon for generating the actual snippets (from HAR objects).

I suggest opening an issue with httpsnippet.

@spparida
Copy link
Author

Yes Sure thanks @ErikWittern

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants