public interface SilentApiImporter
Defines a class that can import APIs without user interactions.
Type Params | Return Type | Name and description |
---|---|---|
|
public boolean |
acceptsURL(java.net.URL url) Called to check whether the URL indicates that this import method can handle its content. |
|
public java.util.Collection<Interface> |
importApi(java.net.URL definitionUrl, WsdlProject project) Creates an API (Interface) in the provided project from the definition found at the URL. |
|
public java.util.Collection<Interface> |
importApi(java.net.URL definitionUrl, WsdlProject project, boolean disableLogger) |
Called to check whether the URL indicates that this import method can handle its content. NOTE: An import method will not be able to determine from just the URL if the content is acceptable, so ReadyAPI may still try to parse it.
url
- The URL pointing to an API definitionCreates an API (Interface) in the provided project from the definition found at the URL.
definitionUrl
- a URL pointing to an API definition (such as WSDL or Swagger)project
- the project that the API should be added to