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

AnyObject as body is not correctly generated to typespec #4957

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

AnyObject as body is not correctly generated to typespec #4957

pshao25 opened this issue Apr 23, 2024 · 0 comments · Fixed by #4958

Comments

@pshao25
Copy link
Member

pshao25 commented Apr 23, 2024

For what generated for arm-networkanalytics

listRolesAssignments is ArmResourceActionSync<
    DataProduct,
    AnyObject,
    ListRoleAssignments
  >;

The AnyBody from swagger is an object body.

Expected:

listRolesAssignments is ArmResourceActionSync<
    DataProduct,
    {},
    ListRoleAssignments
  >;
pshao25 added a commit that referenced this issue Apr 26, 2024
Fix #4957
Fix #4959

---------

Co-authored-by: Pan Shao <pashao@microsoft.com>
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