Skip to content

Swagger / OpenAPI support in gRPC JSON transcoding #43294

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

Closed
1 task done
mparry opened this issue Aug 15, 2022 · 2 comments
Closed
1 task done

Swagger / OpenAPI support in gRPC JSON transcoding #43294

mparry opened this issue Aug 15, 2022 · 2 comments
Assignees
Labels
area-grpc Includes: GRPC wire-up, templates

Comments

@mparry
Copy link

mparry commented Aug 15, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

We need Swagger generation (and also, less importantly, would like the Swagger UI) when using gRPC JSON transcoding to produce a REST API on top of gRPC.

Describe the solution you'd like

Similar - or better! - Swagger / OpenAPI support as was available in the experimental Microsoft.AspNetCore.Grpc.* APIs.

Additional context

I hope that this is an appropriate way to raise this. Besides our specific needs, it seemed useful for there to be an issue about the feature in this repo.

We have been evaluating the new gRPC JSON transcoding libraries with 7.0.0-preview.7, migrating our existing usage of the experimental Microsoft.AspNetCore.Grpc.* APIs under .NET 6.

Previously, in this blog, it was stated that the aim was to provide a solution in .NET 7, or else there would at least be a new experimental library providing an interim solution. Neither is available yet, as of preview.7. Would it be possible to share the current aims or what is now likely to be the outcome as of .NET 7 final?

Thanks!

@javiercn javiercn added the area-grpc Includes: GRPC wire-up, templates label Aug 15, 2022
@captainsafia
Copy link
Member

Assigning to @JamesNK to investigate publishing the experimental APIs to NuGet.

@JamesNK
Copy link
Member

JamesNK commented Sep 5, 2022

Done with #43384. An updated Microsoft.AspNetCore.Grpc.Swagger will ship with RC1.

@JamesNK JamesNK closed this as completed Sep 5, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Oct 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-grpc Includes: GRPC wire-up, templates
Projects
None yet
Development

No branches or pull requests

4 participants