If you are importing using a URL, some URLs may use Basic auth encryption. In this case, you can simply turn on the Basic auth toggle and fill in the username and password.
If the imported API document does not contain specific test cases, enabling this option allows Apidog to automatically generate a default "Success" case for each endpoint, helping you quickly start testing.
Import Servers in OpenAPI/Swagger as Environments#
If the imported document defines different server addresses, enabling this option will automatically create these addresses as different environments within the project, facilitating easy switching between test targets.
Security Scheme is a configuration used in API documentation (such as OpenAPI) to describe how an endpoint is authorized.It tells the client how to carry authentication information when accessing an endpoint, such as a Token, API Key, or OAuth2 authorization.
When enabled, various security settings defined in the document (such as API Key, Basic Auth, etc.) will be imported into Apidog's Auth configuration.
You can choose to set the Auth for the "Root" folder as the global security scheme defined in the OpenAPI spec.
For imported endpoints without security defined, you can specify how they should be handled. For example: Inherit from parent folder's Auth configuration, or set to No authentication.
If an imported endpoint lacks a clear name (Summary), Apidog will default to using the endpoint's operationId field as the endpoint name. You can also choose to use the path or extract it from the description.
When the same endpoint is in different folders: If an imported endpoint matches an existing one, but their folder information (such as folder name, pre/post-processors) differs between the new and old files, you can choose:
Keep the existing endpoint folder unchanged: Ignore the folder information in the new file and retain the project's original folder settings.
Update endpoint folder: Use the folder information from the new file to update the folder the endpoint belongs to in the project.
Apidog will compare the new imported file with existing resources in the project:
Do not delete: Old resources in the project that do not exist in the new file will be retained (safe option).
Delete: Old resources in the project that do not exist in the new file will be removed (sync option, ensuring the project remains fully consistent with the imported source data).