Skip to content

Streaming APIs return * instead of /* for URI templates in Publisher REST API #4705

@PasanT9

Description

@PasanT9

Description

When creating or importing a Streaming API (WebSocket or SSE) and retrieving it through the Publisher REST API, the returned API object contains * as the target for operations instead of the previously returned /*.

Steps to Reproduce

  1. Create or import any Streaming API (WebSocket or SSE) using an AsyncAPI definition.

  2. Retrieve the API via:

    GET /api/am/publisher/v4/apis/{apiId}
    
  3. Inspect the operations section in the response.

Actual Behaviour

The target field in each operation is returned as:

"target": "*"

Expected Behaviour

The target field should be returned as:

"target": "/*"

Version

4.7.0-m1

Environment Details (with versions)

No response

Metadata

Metadata

Labels

4.7.0Label for General Availability Release of APIM 4.7.0BugFixingTracks the bugs to be fixed for APIMType/Bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions