Interface ApiContract.DefinitionStages.WithTermsOfServiceUrl

All Known Subinterfaces:
ApiContract.Definition, ApiContract.DefinitionStages.WithCreate
Enclosing interface:
ApiContract.DefinitionStages

public static interface ApiContract.DefinitionStages.WithTermsOfServiceUrl
The stage of the ApiContract definition allowing to specify termsOfServiceUrl.
  • Method Details

    • withTermsOfServiceUrl

      ApiContract.DefinitionStages.WithCreate withTermsOfServiceUrl(String termsOfServiceUrl)
      Specifies the termsOfServiceUrl property: A URL to the Terms of Service for the API. MUST be in the format of a URL..
      Parameters:
      termsOfServiceUrl - A URL to the Terms of Service for the API. MUST be in the format of a URL.
      Returns:
      the next definition stage.