API Connect

 View Only
Expand all | Collapse all

How to validate OpenAPI 3.0 Request in APIconnect v10

Jump to Best Answer
  • 1.  How to validate OpenAPI 3.0 Request in APIconnect v10

    Posted Mon June 13, 2022 11:05 AM
    Hi All,

    I haven't worked on v10 earlier and don't know how openAPI3.0 works in v10. I imported openAPI3.0 in API Connect v10 and this 3.o file contains all the schemas. All the JSON request values are defined with max and min characters in the 3.0 file. Yet, The API endpoint is giving valid response even I hit the API URL by providing wrong values.  I came to know v10 doesn't support Validate policy to validate the coming request. Now my question is According to schemas how can I validate the openAPI 3.0 incoming request in v10? Kindly help me with the solution.

    Thanks,
    Ravi

    ------------------------------
    ravikumar kunibilli
    ------------------------------


  • 2.  RE: How to validate OpenAPI 3.0 Request in APIconnect v10
    Best Answer

    Posted Thu July 07, 2022 09:35 AM
    I think you want to upgrade to the recently released APIC 10.0.5 where the validate policy now supports OAI3 too:
    https://www.ibm.com/docs/en/api-connect/10.0.5.x_lts?topic=overview-whats-new-in-latest-release-version-10050

    ------------------------------
    Chris Dudley
    ------------------------------