Oracle Interview Question

Write a function that should take a swagger file as an input and print all the endpoints with parameters