Studio Code Generation and http basic auth

Greetings all!

I’m a Studio noob but am really liking what I’ve seen so far. That said, I’m having difficultly defining the API properly such that the Code Generation shows a valid cURL example.

In this specific case, my API uses basic authentication which I’ve defined as follows:

securitySchemes:
    basic-auth:
      type: http
      scheme: basic
      description: "Use 'username:password'"

When I look at Preview -> Try It -> Code Generation (Shell cURL) I get just the following:

curl --request GET \
  --url https://foo.net/bar

I would expect to see something more like this instead:

curl --user username:password https://foo.net/bar

Any idea how I might get there?

Thanks!

Thoughts anyone?

Thanks!