Interface ApiContract.DefinitionStages.WithProtocols
- All Known Subinterfaces:
ApiContract.Definition,ApiContract.DefinitionStages.WithCreate
- Enclosing interface:
ApiContract.DefinitionStages
public static interface ApiContract.DefinitionStages.WithProtocols
The stage of the ApiContract definition allowing to specify protocols.
-
Method Summary
Modifier and TypeMethodDescriptionwithProtocols(List<Protocol> protocols) Specifies the protocols property: Describes on which protocols the operations in this API can be invoked..
-
Method Details
-
withProtocols
Specifies the protocols property: Describes on which protocols the operations in this API can be invoked..- Parameters:
protocols- Describes on which protocols the operations in this API can be invoked.- Returns:
- the next definition stage.
-