Attach files to commands and download them by using the file menu in the command
line.
Procedure
-
To attach a file, you must trigger the file menu by typing
@ and then
selecting the file.
Note: The maximum file size is 1 GB, and the filename must not contain any spaces or special
characters.
- If you copied and pasted a command like
validate api @testapi.yaml,
delete back to the base command validate api and retype the @ to
trigger the file menu.
- Select a file from the file menu that appears after typing
@.
- When a next action button includes a reference to a file, for example,
remediate
api [@file] using spectral-owasp ruleset, you must replace [@file] with a
newly attached file by triggering the file menu with the @ symbol.
- To delete the file name in the command line, delete the command and reenter
validate api.