public void setRequired(boolean required) {
		this.required = required;
	}
Sets required.

@param required the required
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/models/ParameterInfo.java