Interface OperationContract.DefinitionStages.WithResponses
- All Known Subinterfaces:
OperationContract.Definition,OperationContract.DefinitionStages.WithCreate
- Enclosing interface:
OperationContract.DefinitionStages
public static interface OperationContract.DefinitionStages.WithResponses
The stage of the OperationContract definition allowing to specify responses.
-
Method Summary
Modifier and TypeMethodDescriptionwithResponses(List<ResponseContract> responses) Specifies the responses property: Array of Operation responses..
-
Method Details
-
withResponses
Specifies the responses property: Array of Operation responses..- Parameters:
responses- Array of Operation responses.- Returns:
- the next definition stage.
-