x402

Env Template Generate (x402)

Scan source code for environment variable references (process.env, os.environ, etc.) and generate a .env template with descriptions and example values.

get/x402/v2/env-template-generate

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/env-template-generate
  • Auth: none required

Query parameters

codestring

Source code to scan

project_descriptionstring

Response

Success

env_templatestring
total_variablesinteger

Example response

{
  "variables": [],
  "env_template": "\n",
  "total_variables": 0
}

Changes

No recorded changes to this operation across all 1 revision of this API.