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

Rectify the content type for produces/consumes #5072

Open
pshao25 opened this issue Feb 10, 2025 · 0 comments
Open

Rectify the content type for produces/consumes #5072

pshao25 opened this issue Feb 10, 2025 · 0 comments
Labels
openapi-to-tsp Tracks OpenAPI to Cadl converter issues

Comments

@pshao25
Copy link
Member

pshao25 commented Feb 10, 2025

According to the decision of Azure/typespec-azure#2124, we shouldn't have a header called accept.

Expected behavior:
produces in swagger => contenttype header in response
consumes in swagger => contenttype header in request

@pshao25 pshao25 added the openapi-to-tsp Tracks OpenAPI to Cadl converter issues label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
openapi-to-tsp Tracks OpenAPI to Cadl converter issues
Projects
None yet
Development

No branches or pull requests

1 participant