Class AbstractInvalidPropertyValueRule

    • Constructor Detail

      • AbstractInvalidPropertyValueRule

        public AbstractInvalidPropertyValueRule​(ValidationRuleMetaData ruleInfo)
        Constructor.
        Parameters:
        ruleInfo -
    • Method Detail

      • isValidMultipartType

        protected boolean isValidMultipartType​(String typeName)
        Returns true if the given media type name is multipart/* or application/x-www-form-urlencoded
        Parameters:
        typeName -
      • mergeParameters

        protected List<OpenApiParameter> mergeParameters​(OpenApiOperation node)
        Merges all parameters applicable for an operation - those defined within the operation and those defined at the pathItem level. Resolves parameters that are not defined inline but are referenced from the components/parameters section.