Interface ApiContract.DefinitionStages.WithApiVersion
- All Known Subinterfaces:
ApiContract.Definition,ApiContract.DefinitionStages.WithCreate
- Enclosing interface:
ApiContract.DefinitionStages
public static interface ApiContract.DefinitionStages.WithApiVersion
The stage of the ApiContract definition allowing to specify apiVersion.
-
Method Summary
Modifier and TypeMethodDescriptionwithApiVersion(String apiVersion) Specifies the apiVersion property: Indicates the version identifier of the API if the API is versioned.
-
Method Details
-
withApiVersion
Specifies the apiVersion property: Indicates the version identifier of the API if the API is versioned.- Parameters:
apiVersion- Indicates the version identifier of the API if the API is versioned.- Returns:
- the next definition stage.
-