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:

      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 \

I would expect to see something more like this instead:

curl --user username:password

Any idea how I might get there?


Thoughts anyone?