api-manager icon indicating copy to clipboard operation
api-manager copied to clipboard

Async API Definition goes missing when creating a new version if the original API has been updated

Open tharikaGitHub opened this issue 4 months ago • 0 comments

Description

Async API Definition goes missing when creating a new version of an Async API if the original API has been updated. This is the same for any Async type API (Websocket, Websub etc.). The asyncapi.json file is missing when checked through the Management console.

The Async API Definition window of the newly created version is seen as follows. Screenshot 2024-10-11 at 15 21 01

And the Topics page is seen loading like below. Screenshot 2024-10-11 at 15 22 08

Both the above issues are the result of the missing asyncapi.json file.

Steps to Reproduce

  1. Create a websocket API (Can be any async api type) - Do not publish it.
  2. Save the API by navigating to the Basic Info page.
  3. Then create a new version from this API.
  4. Access the Async API Definition and Topics pages of the newly created API version.

Affected Component

APIM

Version

4.4.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

tharikaGitHub avatar Oct 11 '24 09:10 tharikaGitHub