Code Fix: REST Broker services require manual change to swagger file to generate the correct definitions

  • 16 February 2021
  • 0 replies
  • 7 views

Badge +9


 




Code Fix: REST service broker methods not created in the correct path














LEGACY/ARCHIVED CONTENT

This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.


 


Issue Description


When you create a REST service broker service instance, certain methods are not created in the correct object as per the exact service path.


Resolution



  1. Ensure you have K2 Five (5.0) installed.

  2. Download and Install the K2 Five (5.0) September 2018 Cumulative Update from K2 Partner and Customer Portal.

  3. Download K2 Five (5.0) September 2018 Cumulative Update FP02 from K2 Partner and Customer Portal.

  4. Install K2 Five (5.0) September 2018 Cumulative Update FP02 to apply the fix.


Considerations


After installing K2 Five (5.0) September 2018 Cumulative Update FP02, you must edit the service instance. A new service key called “Match methods to exact Object Names” will now be available. Set this key to true and update the service instance. The methods will now be created in the correct object to match the exact service path.


 






0 replies

Be the first to reply!

Reply