Mapping of URLs in API Gateway

We have been talking about route and swagger api specifications. Let's map them in lieu of the following case.

Swagger URI RouteSpecs URI Notes
/companies /svc/quote/datacubes/api/companies "quote" is the application. "datacubes" is the external service.
/overview /svc/quote/datacubes/api/overview

Swagger API Definition

 "paths": {
    "/companies": {
      "post": {
        "description": "Search a specific company",
        "summary": "searchCompanies",
        "tags": [
          "Misc"
        ],
        "operationId": "CompaniesPost",
        "produces": [
          "application/json"
        ],
        "parameters": [
            {
            "name": "Body",
            "in": "body",
            "required": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/searchCompaniesRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [
          {
            "auth": []
          }
        ]
      }
    },
    "/overview": {
      "get": {
        "description": "Get overview of a company",
        "summary": "bizDetails",
        "tags": [
          "Misc"
        ],
        "operationId": "OverviewGet",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "company_id",
            "in": "query",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "views",
            "in": "query",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "security": [
          {
            "auth": []
          }
        ]
      }
    }
  },

Route Specifications

{
  "docUrl" : "/_model/api-service/quote/datacubes",
  "routeSpecs" : [
    {
      "location" : "Base URL of the endpoint",
      "path" : "/svc/quote/datacubes/api/companies",
      "secure" : true
    },
    {
      "location" : "Base URL of the endpoint",
      "path" : "/svc/quote/datacubes/api/overview",
      "secure" : true
    }
  ]
}