Class Oas31KeywordScanner.KeywordOccurrence
- java.lang.Object
-
- org.openapitools.codegen.languages.Oas31KeywordScanner.KeywordOccurrence
-
- Enclosing class:
- Oas31KeywordScanner
public static final class Oas31KeywordScanner.KeywordOccurrence extends Object
One keyword occurrence at a schema-valued position.
-
-
Constructor Summary
Constructors Constructor Description KeywordOccurrence(String keyword, String location, String vocabularyUri, Oas31KeywordScanner.KeywordOccurrenceStatus status, String detail)Create an occurrence record.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDetail()Human-readable detail, or null.StringgetKeyword()The keyword that occurred.StringgetLocation()JSON-pointer-like location of the occurrence.Oas31KeywordScanner.KeywordOccurrenceStatusgetStatus()Classification of the occurrence.StringgetVocabularyUri()Vocabulary URI declaring the keyword.StringtoString()
-
-
-
Constructor Detail
-
KeywordOccurrence
public KeywordOccurrence(String keyword, String location, String vocabularyUri, Oas31KeywordScanner.KeywordOccurrenceStatus status, String detail)
Create an occurrence record.
-
-
Method Detail
-
getKeyword
public String getKeyword()
The keyword that occurred.
-
getLocation
public String getLocation()
JSON-pointer-like location of the occurrence.
-
getVocabularyUri
public String getVocabularyUri()
Vocabulary URI declaring the keyword.
-
getStatus
public Oas31KeywordScanner.KeywordOccurrenceStatus getStatus()
Classification of the occurrence.
-
getDetail
public String getDetail()
Human-readable detail, or null.
-
-