toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Type.openApi3:
      return 'OpenApi3';
    case Type.jSONSchemaDraft4:
      return 'JSONSchemaDraft4';
  }
}