Operation model builder is available outside Operation Context
@@ -105,6 +105,10 @@ public class OperationContext {
return requestContext.getDocumentationContext();
}
+ public OperationModelContextsBuilder operationModelsBuilder() {
+ return requestContext.operationModelsBuilder();
+ }
+
public DocumentationType getDocumentationType() {
return getDocumentationContext().getDocumentationType();
}
