Skip to main content

I’m completely new to IFS. Thanks for any help :)

 

I’d like to use the OpenAPI code generator to generate a PHP client — and see what the outcome is.

 

The code generator relies on access to a `.yml` or `.yaml` file as this very short blog post shows.

 

Apologies for my cluelessness. I’m wondering how I find the routes to these `.yml` files.

We figured this out.

When viewing the “REST API Documentation” you can get to from the API Explorer, I opened Chrome developer tools. I went to the Network tab, filtered for XHR requests, and refreshed the page.

That showed me that the API docs pull data from the endpoint below, which is the OpenAPI Specification (in json format) for the API.

https://<Server>:<port>/main/ifsapplications/projection/v1/AllProjections.svc/$openapi?V3


I was able then able to generate PHP client code in PhpStorm using that spec by following PhpStorm’s instructions here.

So good so far… :)


Reply