Class OpenAPIConfigHelper
- java.lang.Object
-
- org.opennms.features.config.service.util.OpenAPIConfigHelper
-
public class OpenAPIConfigHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
fillWithDefaultValue(io.swagger.v3.oas.models.OpenAPI openapi, String topLevelElement, org.json.JSONObject configJsonObj)
It will walk through all properties in schema and insert default value / null into json if property not found.
-
-
-
Method Detail
-
fillWithDefaultValue
public static void fillWithDefaultValue(io.swagger.v3.oas.models.OpenAPI openapi, String topLevelElement, org.json.JSONObject configJsonObj)
It will walk through all properties in schema and insert default value / null into json if property not found.- Parameters:
openapi
-topLevelElement
-configJsonObj
-
-
-