Skip to content
Discussion options

You must be logged in to vote

Hi! This is a known limitation in how Nuclei handles OpenAPI requestBody parameters vs. path/query parameters.

A few things to try:

  1. Use -var flag directly on the CLI to pass body params:

    nuclei -l openapi.json -im openapi -c 50 -bulk-size 50 -rate-limit 200 -sresp \
      -var index-name=my_index -var index=my_index -var key=Key1
    
  2. Check your required_openapi_params.yaml — make sure the variable names exactly match the property names defined in the MultipleRequest schema (node, values, etc.), not just the path parameters.

  3. Provide a full example value for the requestBody schema in your OpenAPI spec under the example field — Nuclei may use those examples to populate body params automatically.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by chelalex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants