Interface ClassNames
public interface ClassNames
The core classes of one contract, as the core emitter names them.
-
Method Summary
Modifier and TypeMethodDescriptionall()Every core class, in the order the contract declares what they come from.The class for a component.The class for a schema written inline in an operation.The class for an operation.
-
Method Details
-
all
List<GeneratedClass> all()Every core class, in the order the contract declares what they come from.- Returns:
- the classes
-
component
The class for a component.- Parameters:
origin-Origin.SCHEMA,Origin.RESPONSE,Origin.PARAMETERorOrigin.REQUEST_BODYcomponentName- the component's name- Returns:
- the class, or empty when there is none
-
operation
The class for an operation.- Parameters:
location- the JSON pointer of the operation, such as/paths/~1v1~1users/get- Returns:
- the class, or empty when there is none
-
inline
The class for a schema written inline in an operation.- Parameters:
location- the JSON pointer of the schema- Returns:
- the class, or empty when the schema has none
-