Class SchemaRegistry.TypeKey

java.lang.Object
io.smallrye.openapi.runtime.scanner.SchemaRegistry.TypeKey
Enclosing class:
SchemaRegistry

public static final class SchemaRegistry.TypeKey extends Object
This class is used as the key when storing Schemas in the registry. The purpose is to replicate the same behavior as the Type classes equals and hashCode functions, with the exception that the Type's annotations are not considered in these versions of the methods.
Author:
Michael Edgar <michael@xlate.io>
  • Method Details

    • defaultName

      public String defaultName()
    • viewSuffix

      public String viewSuffix()
    • equals

      public boolean equals(Object o)
      Determine if the two Types are equal.
      Overrides:
      equals in class Object
      See Also:
      • Type.equals(java.lang.Object)
      • ParameterizedType.equals(java.lang.Object)
      • TypeVariable.equals(java.lang.Object)
      • WildcardType.equals(java.lang.Object)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      See Also:
      • Type.equals(java.lang.Object)
      • ParameterizedType.equals(java.lang.Object)
      • TypeVariable.equals(java.lang.Object)
      • WildcardType.equals(java.lang.Object)