openmainframeproject / feilong

Feilong is a open source z/VM cloud connector project under the Open Mainframe Project umbrella that will accelerate the z/VM adoption, extending its ecosystem and its user experience. It provides a set of APIs to operate z/VM including guest, image, network, volume etc.
https://www.openmainframeproject.org/projects/feilong
Apache License 2.0
35 stars 70 forks source link

Doc: Fix userids that are in body, not in path #786

Closed Bischoff closed 8 months ago

Bischoff commented 8 months ago

In the API doc, some userid parameters are marked as if they were in the path, while they are in the body.

This PR fixes the 4 cases I have found.

7.5.11. Set FCP Usage

  userid path string Guest userid
  ->
  userid body string Guest userid.

7.8.4. Grant user to vswitch

  grant_userid path string Guest userid
  ->
  grant_userid body string Guest userid.

7.8.5. Revoke user from vswitch

  revoke_userid path string Guest userid
  ->
  revoke_userid body string Guest userid.

7.8.6. Set user VLANID to vswitch

  userid path string Guest userid
  ->
  userid body string Guest userid.
bjhuangr commented 8 months ago

Thanks for the doc fixings

Bischoff commented 8 months ago

Thanks for the doc fixings

Thanks for the 2 merges :-)