You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would like a way to indicate that the hub parameter in WebPubSub is a "client parameter", meaning it is a private member on the client and taken as a parameter to the client constructor (see WebPubSub APIView).
In swagger, this could be indicated as a global parameter, or by using the x-ms-parameter-location extension and setting the value to client.
The text was updated successfully, but these errors were encountered:
import "@cadl-lang/openapi";
@doc("The mode with which you'll be handling your returned body. 'raw' for just dealing with the raw body, and 'model' if you are going to convert the raw body to a customized body before returning to users.")
model ModeParameter {
@OpenAPI.extension("x-ms-parameter-location", "method")
@doc("The mode with which you'll be handling your returned body. 'raw' for just dealing with the raw body, and 'model' if you are going to convert the raw body to a customized body before returning to users.")
@path
mode: Mode;
}
But agree we need a design that don't use OpenAPI.extension long term.
It does generate the right OpenAPIv3, which autorest no problem to consume.
We would like a way to indicate that the
hub
parameter in WebPubSub is a "client parameter", meaning it is a private member on the client and taken as a parameter to the client constructor (see WebPubSub APIView).In swagger, this could be indicated as a global parameter, or by using the
x-ms-parameter-location
extension and setting the value toclient
.The text was updated successfully, but these errors were encountered: