apidog_import_spec
Import OpenAPI 3.x specs into Apidog to update or replace API documentation. Merge with existing specs for bulk updates, with options to control overwrites.
Instructions
Import a full or partial OpenAPI spec. If mergeWithExisting is true (default), exports current spec first and merges. Use for bulk updates or importing from external sources like Scramble.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | OpenAPI 3.x spec object | |
| mergeWithExisting | No | Merge with current spec (true) or replace (false) | |
| overwriteBehavior | No | OVERWRITE_EXISTING |