wso2 / api-manager

All issues, tasks, improvements and new features of WSO2 API Manager
Apache License 2.0
34 stars 8 forks source link

Headers Section Not Included in API product swagger definition combining APIs #2617

Closed nuwankng closed 3 months ago

nuwankng commented 7 months ago

Description

In this issue we were able to see that when using API with headers referenced from components section are not not included when we create a API product [1].

After we create an API product combining the APIs contains headers referenced from components section, getting an error in the devportal tryout section.

UiError

[1]. https://apim.docs.wso2.com/en/3.2.0/learn/design-api/create-api-product/create-api-product/

Steps to Reproduce

  1. Create 2 APIs with headers for the resources referenced from components section.
  2. Create an API product combining the above APIs.
  3. Open and try out the API product in devportal

Affected Component

APIM

Version

3.2.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

HiranyaKavishani commented 7 months ago

Public fix is already available via ==> https://github.com/wso2/carbon-apimgt/pull/12159