Annotation Type PactUrl


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Inherited
    public @interface PactUrl
    Used to point Pact runner to source of pacts for contract tests
    See Also:
    pact loader
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String[] urls  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Authentication auth
      Authentication to use, if needed.
    • Element Detail

      • urls

        java.lang.String[] urls
        Returns:
        a list of urls to pact files
      • auth

        Authentication auth
        Authentication to use, if needed. For basic auth, set the username and password. For bearer tokens, use the token attribute.
        Default:
        @au.com.dius.pact.provider.junitsupport.loader.Authentication