Layer7 API Management

  • 1.  How to automate Json schema case Array size = 1

    Posted Oct 01, 2018 10:25 PM

    reference this case : schema for the transition from xml to json 

     

    I can manual dummy size for data for fix  case reference but In the future I can't forecast how many API meet data of XML case Array size 1.

     

    How to customize software for support this case?

    how other customer fix this problem? (manual size right?)  



  • 2.  Re: How to automate Json schema case Array size = 1

    Broadcom Employee
    Posted Oct 01, 2018 10:35 PM

    This idea is also relevant to existing idea - Include One-click SOAP-to-REST conversions into CA API Gateway , in particular, this comment.

     

    Adding fliaa01 for awareness.



  • 3.  Re: How to automate Json schema case Array size = 1
    Best Answer

    Broadcom Employee
    Posted Oct 02, 2018 12:27 AM

    Hi Niraman,

     

    Just realized you posted this request as a Question instead of an Idea.

     

    You may want to refer to some of these workaround other users have adopted/suggested in the past, and see if it could address your need:

     

    https://communities.ca.com/thread/241758560#comment-241910084

    https://communities.ca.com/thread/241758560#comment-241910344

     

    If you want to proceed with submitting the enhancement request for CA APIM Gateway to include the capability of automated JSON Schema creation to address the single array conversion issue, please use the Create an Idea option instead:

     

    Hi Aaronfliaa01, can you please advise if this function (auto generate of JSON schema to address issue with single array xml-JSON conversion) will be considered/included in the process of the Include One-click SOAP-to-REST conversions into CA API Gateway idea?

     

    Thanks,

    Aryne



  • 4.  Re: How to automate Json schema case Array size = 1

    Posted Oct 02, 2018 01:58 AM

    thank you for this 



  • 5.  Re: How to automate Json schema case Array size = 1

    Posted Oct 02, 2018 04:40 PM

    It sounds like you're asking simply how to add this use-case to the Gateway as a feature request, correct? If I've understood that correctly, you'd just follow the instructions that Aryne provided earlier - you'll want to file a new Idea in the community. That is the feature ideation process in place which are reviewed and engaged with for consideration in future versions of the CA API Gateway.