public enum ReferenceValidator extends Enum<ReferenceValidator>
| Enum Constant and Description |
|---|
callbacks |
examples |
headers |
links |
parameters |
requestBodies |
responses |
schemas |
securitySchemes |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
validateComponent(io.swagger.v3.oas.models.Components components,
String reference) |
static ReferenceValidator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReferenceValidator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReferenceValidator schemas
public static final ReferenceValidator responses
public static final ReferenceValidator parameters
public static final ReferenceValidator examples
public static final ReferenceValidator requestBodies
public static final ReferenceValidator headers
public static final ReferenceValidator securitySchemes
public static final ReferenceValidator links
public static final ReferenceValidator callbacks
public static ReferenceValidator[] values()
for (ReferenceValidator c : ReferenceValidator.values()) System.out.println(c);
public static ReferenceValidator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract boolean validateComponent(io.swagger.v3.oas.models.Components components,
String reference)
Copyright © 2022. All rights reserved.