Forum Discussion

hafizali05's avatar
hafizali05
New Contributor
4 years ago

Having custom file name for api path

Having path with custom api file name

path /public/ping generate filename PublicApi, we want a custom name e.g MonitoringApi

why we need that?

  • our application has /public/** path as unauthenticated path
  • we have couple of sub path that returns resources e.g availability metrics e.g /public/ping
  • we hook this endpoint in azure to give us availability metrics.

 

  /public/ping:
    name: monitoring  //<-   do we have something like this which might generate file name as MonitoringApi
    get:
      tags:
        - monitoring
      summary: Get availability metrics of the service application
      description: serves App Insight with availability metrics of the application
      operationId: ping
      responses:
        '200':
          description: responds to prove service availability

 

No RepliesBe the first to reply