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

@encodedName don't support "json" as mime type #4953

Closed
Tracked by #4947
pshao25 opened this issue Apr 19, 2024 · 0 comments · Fixed by #4954
Closed
Tracked by #4947

@encodedName don't support "json" as mime type #4953

pshao25 opened this issue Apr 19, 2024 · 0 comments · Fixed by #4954

Comments

@pshao25
Copy link
Member

pshao25 commented Apr 19, 2024

packages\extensions\openapi-to-typespec\test\arm-sphere is an example, it generates

@@encodedName(Catalogs.listDeviceGroups::parameters.body,
  "json",
  "listDeviceGroupsRequest"
);

which is expected to be

@@encodedName(Catalogs.listDeviceGroups::parameters.body,
  "application/json",
  "listDeviceGroupsRequest"
);
pshao25 added a commit that referenced this issue Apr 19, 2024
1. Fix #4953 
2. Change the logic of isFullCompatible to "only brownfield is full
compatible"
3. Add compiler server to vscode setting
4. Enable "arm-agrifood", "arm-sphere", "arm-test"
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

Successfully merging a pull request may close this issue.

1 participant