I have a parameter shared by multiple rest apis and instead of define the param is each api like this
.param()
.name("Timezone")
.type(RestParamType.header)
.required(Boolean.FALSE)
.endParam()
Is there a way to define the param globally in the Swagger configuration for example
@Component
public class Swagger extends RouteBuilder {
@Override
public void configure() throws Exception {
}
}