You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuration is loaded via json and yaml libraries, these treat the file formats as serialized object, that contain only basic types, primitives such as string, int, float as well as dict and list are supported. The restGenerator accepts such an object in req_template_json_object which it will serialize into a string for the request.
Your example snippet placed in a template if passed in a -G json file would be:
Summary
Garak supports REST APIs but I would like to know how to add the request template in the yaml config file.
Basic example
For example, the request template can be as follows:
How to add this to the config.yaml file?
Motivation
This will help for users to use garak with YAML file.
The text was updated successfully, but these errors were encountered: