How to expose open-API endpoint in spring cloud and azure application

488 Views Asked by At

I am trying to use open API in spring cloud and Microsoft azure functions but I am unable to expose the open API URL. In the console (attached image), you can see I have only one api endpoint which is referring to my spring cloud and azure function. I am using open API specs but not getting the Open-API UI link. So my question is, do I need to create an azure function to expose the open API URL? if yes how if not then what I am doing wrong! Thanks in advance

enter image description here

Functions:

    adapter: [GET,POST] http://localhost:7071/api/adapter
1

There are 1 best solutions below

2
On
  • We need to Use Azure API management for generating OpenAPI in Azure functions.
  • Now the API management has Consumption tier as well, which would be best for custom gateway for azure functions.
  • This should work for spring cloud functions deployed on azure functions too.