apidog_add_endpoint
Add an API endpoint to an Apidog project by exporting, modifying, validating, and importing its OpenAPI specification.
Instructions
Add an endpoint by export-modify-validate-import.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| method | Yes | ||
| options | No | ||
| branchId | No | Optional Apidog branch ID. Falls back to apidog.json. | |
| moduleId | No | ||
| operation | Yes | OpenAPI operation object. A default 200 response is added if responses is omitted. | |
| projectId | No | Apidog project ID. Falls back to apidog.json. | |
| oasVersion | No | 3.1 | |
| exportFormat | No | JSON | |
| environmentIds | No | ||
| addFoldersToTags | No | ||
| includeApidogExtensionProperties | No |