Uses of Class
org.opennms.features.config.dao.impl.util.OpenAPIBuilder
-
Packages that use OpenAPIBuilder Package Description org.opennms.features.config.dao.impl.util -
-
Uses of OpenAPIBuilder in org.opennms.features.config.dao.impl.util
Methods in org.opennms.features.config.dao.impl.util that return OpenAPIBuilder Modifier and Type Method Description OpenAPIBuilder
OpenAPIBuilder. addArray(String name, ConfigItem.Type elementType, Long arrayMin, Long arrayMax, Long min, Long max, Long multipleOf, String pattern, Object defaultValue, boolean required, String doc)
OpenAPIBuilder
OpenAPIBuilder. addArray(String name, OpenAPIBuilder childrenBuilder, Long arrayMin, Long arrayMax, boolean required, String doc)
OpenAPIBuilder
OpenAPIBuilder. addAttribute(ConfigItem configItem)
OpenAPIBuilder
OpenAPIBuilder. addBooleanAttribute(String name, Object defaultValue, boolean required, String doc)
OpenAPIBuilder
OpenAPIBuilder. addDateAttribute(String name, Object defaultValue, boolean required, String doc)
OpenAPIBuilder
OpenAPIBuilder. addDateTimeAttribute(String name, Object defaultValue, boolean required, String doc)
OpenAPIBuilder
OpenAPIBuilder. addNumberAttribute(String name, ConfigItem.Type type, Long min, Long max, Long multipleOf, Object defaultValue, boolean required, String doc)
OpenAPIBuilder
OpenAPIBuilder. addObject(String name, OpenAPIBuilder childrenBuilder, boolean required, String doc)
OpenAPIBuilder
OpenAPIBuilder. addStringAttribute(String name, Long minLength, Long maxLength, String pattern, Object defaultValue, boolean required, String doc)
static OpenAPIBuilder
OpenAPIBuilder. createBuilder()
static OpenAPIBuilder
OpenAPIBuilder. createBuilder(String name, String topElementName, String prefix)
In most cases, configName and topElementName can be the same.static OpenAPIBuilder
OpenAPIBuilder. createBuilder(String name, String topElementName, String prefix, io.swagger.v3.oas.models.OpenAPI openapi)
This is use for modify existing OpenAPI objectOpenAPIBuilder
OpenAPIBuilder. removeAttribute(String attributeName)
It will directly remove the first level attribute onlyMethods in org.opennms.features.config.dao.impl.util with parameters of type OpenAPIBuilder Modifier and Type Method Description OpenAPIBuilder
OpenAPIBuilder. addArray(String name, OpenAPIBuilder childrenBuilder, Long arrayMin, Long arrayMax, boolean required, String doc)
OpenAPIBuilder
OpenAPIBuilder. addObject(String name, OpenAPIBuilder childrenBuilder, boolean required, String doc)
-