You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to export an API, it works normally. However, in the section that references the spec file (OAS) the filename is being exported without its extension, so if I try to import the config again I get an error.
Just adding the .json extension to the resource property makes the import work.
Portion of the exported API config WITHOUT the .json extension after export. (Should be "PetStore Banred.json")
If I try to reimport the API without any modification, I get the following error.
> apim api import -s demo -c ./v2/api-config.json
2024-12-19 20:34:58,658 [APIManagerCLI] INFO : API-Manager CLI: 1.14.8
2024-12-19 20:34:58,659 [APIManagerCLI] INFO : Module: API - I M P O R T (1.14.8)
2024-12-19 20:35:00,923 [APIManagerAdapter] INFO : Successfully connected to API-Manager (7.7.20240530) on: https://demo.perceptiva.tech:8075
2024-12-19 20:35:01,776 [APISpecificationFactory] INFO : Reading API-Definition (Swagger/WSDL) from file: C:\Users\cmora\curso-git\apis\v2\PetStore Banred (absolute path)
2024-12-19 20:35:01,778 [APIImportApp] INFO : You may enable debug to get more details. See: https://github.com/Axway-API-Management-Plus/apim-cli/wiki/9.1.-Enable-Debug
2024-12-19 20:35:01,778 [APIImportApp] ERROR: Can't read API-Definition from file
| Unable to read Swagger/WSDL file from: PetStore Banred
| Unable to read Swagger/WSDL file from: PetStore Banred
Steps to reproduce
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
APIM-CLI version
1.14.8
API-Management version
7.7.20240530
Bug description
When I try to export an API, it works normally. However, in the section that references the spec file (OAS) the filename is being exported without its extension, so if I try to import the config again I get an error.
Just adding the .json extension to the resource property makes the import work.
Portion of the exported API config WITHOUT the .json extension after export. (Should be "PetStore Banred.json")
If I try to reimport the API without any modification, I get the following error.
Steps to reproduce
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: