Package org.zaproxy.zap.extension.api
Class NodeJSAPIGenerator
- java.lang.Object
-
- org.zaproxy.zap.extension.api.AbstractAPIGenerator
-
- org.zaproxy.zap.extension.api.NodeJSAPIGenerator
-
public class NodeJSAPIGenerator extends AbstractAPIGenerator
-
-
Field Summary
-
Fields inherited from class org.zaproxy.zap.extension.api.AbstractAPIGenerator
ACTION_ENDPOINT, OPTIONAL_MESSAGE, OTHER_ENDPOINT, VIEW_ENDPOINT
-
-
Constructor Summary
Constructors Constructor Description NodeJSAPIGenerator()
NodeJSAPIGenerator(java.lang.String path, boolean optional)
NodeJSAPIGenerator(java.lang.String path, boolean optional, java.util.ResourceBundle resourceBundle)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
generateAPIFiles(ApiImplementor imp)
Generates the API client files of the given API implementor.static void
main(java.lang.String[] args)
-
Methods inherited from class org.zaproxy.zap.extension.api.AbstractAPIGenerator
generateAPIFiles, generateCoreAPIFiles, getDirectory, getMessages, isOptional
-
-
-
-
Method Detail
-
generateAPIFiles
protected void generateAPIFiles(ApiImplementor imp) throws java.io.IOException
Description copied from class:AbstractAPIGenerator
Generates the API client files of the given API implementor.- Specified by:
generateAPIFiles
in classAbstractAPIGenerator
- Parameters:
imp
- the API implementor, must not benull
- Throws:
java.io.IOException
- if an error occurred while writing the API files
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-