wso2 / apk

Official Repository for APK distribution
Apache License 2.0
153 stars 91 forks source link

REST APIs not being updated as default version #2248

Closed sgayangi closed 6 months ago

sgayangi commented 6 months ago

Description:

  1. Deploy a REST API
  2. Mark it as default version: true from Publisher - Basic Info tab
  3. Save the API
  4. Deploy the API
  5. Invoke the API with the version in URL - works as expected.
  6. Invoke the API without the version in URL - Gives 404 resource not found error
  7. When reviewing the API CR for that API, it has defaultVersion: false. Howver, the UI will have default version marked as true.
CrowleyRajapakse commented 6 months ago

this works in latest beta, let's verify

sgayangi commented 6 months ago

Issue not reproduced in beta pack, therefore closing this issue