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

Support for raw content in text/plain responses #878

Closed
4 tasks done
Tracked by #1049
baywet opened this issue Nov 23, 2021 · 0 comments · Fixed by #1397
Closed
4 tasks done
Tracked by #1049

Support for raw content in text/plain responses #878

baywet opened this issue Nov 23, 2021 · 0 comments · Fixed by #1397
Assignees
Labels
CLI Work to support generating CLIs with Kiota Csharp Pull requests that update .net code enhancement New feature or request fixed generator Issues or improvements relater to generation capabilities. Go Java TypeScript Pull requests that update Javascript code

Comments

@baywet
Copy link
Member

baywet commented Nov 23, 2021

Related to microsoft/OpenAPI.NET.OData#129 and microsoft/OpenAPI.NET.OData#141

/$count returns a text/plain response with an int32. It can't be changed to another type due to how the OData protocol is designed

To fully support this (once the conversion pull request gets merged), we need to:

  • update the builder so it generates fluent API paths for text/plain as well
  • add deserialization libraries for text/plain for C#, TS, Java, Ruby, Go (and eventually PhP)
  • register these providers by default
  • update the readme to point to these new libraries
@baywet baywet added enhancement New feature or request Csharp Pull requests that update .net code TypeScript Pull requests that update Javascript code Go Ruby Java generator Issues or improvements relater to generation capabilities. labels Nov 23, 2021
@baywet baywet added this to the TypeWriter Replacement milestone Nov 23, 2021
@baywet baywet self-assigned this Nov 23, 2021
@baywet baywet added the CLI Work to support generating CLIs with Kiota label Nov 29, 2021
@baywet baywet added fixed and removed Ruby labels Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI Work to support generating CLIs with Kiota Csharp Pull requests that update .net code enhancement New feature or request fixed generator Issues or improvements relater to generation capabilities. Go Java TypeScript Pull requests that update Javascript code
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant