AlternativeIssues

sttp.apispec.validation.AlternativeIssues
case class AlternativeIssues(alternatives: List[List[SchemaCompatibilityIssue]]) extends SchemaCompatibilityIssue

An issue raised when a schema is not compatible with any of the alternatives in a target union schema.

Value parameters

alternatives

a list of non-empty lists of issues, where each list corresponds to one of the alternatives

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def description: String

Attributes

Definition Classes

Inherited methods

protected def form(coll: Seq[Any], singular: String, plural: String): String

Attributes

Inherited from:
SchemaCompatibilityIssue
protected def issuesRepr(issues: List[SchemaCompatibilityIssue]): String

Attributes

Inherited from:
SchemaCompatibilityIssue
protected def pluralize(what: String, coll: Seq[Any]): String

Attributes

Inherited from:
SchemaCompatibilityIssue
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Inherited from:
SchemaCompatibilityIssue