Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APIM][4.1.0] Problem with two apis in one api product #2166

Closed
DaniduWijendra opened this issue Sep 14, 2023 · 0 comments · Fixed by wso2/carbon-apimgt#12159
Closed

[APIM][4.1.0] Problem with two apis in one api product #2166

DaniduWijendra opened this issue Sep 14, 2023 · 0 comments · Fixed by wso2/carbon-apimgt#12159

Comments

@DaniduWijendra
Copy link

DaniduWijendra commented Sep 14, 2023

Description

When creating an API product from an API, the parameters that are defined outside the resource method in an API definition, are not shared to the API product’s definition. As a result, this may cause an API product to have an invalid swagger definition.

Steps to Reproduce

  • Create an API with a resource that has a reference defined outside the resource method ($ref: '#/components/parameters/samplePathParameter)
  • Create an API Product using the same resource
  • Publish the product

Affected Component

APIM

Version

4.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants