text: "use strict";
  // Copyright IBM Corp. 2017, 2018. All Rights Reserved.
  // Node module: @loopback/rest
  // This file is licensed under the MIT License.
  // License text available at https://opensource.org/licenses/MIT
  Object.defineProperty(exports, "__esModule", { value: true });
  /**
   * Base implementation of RouteEntry
   */
  class BaseRoute {
      /**
       * Construct a new route
       * @param verb http verb
       * @param path http request path pattern
       * @param spec OpenAPI operation spec
       */
      constructor(verb, path, spec) {
          this.path = path;
          this.spec = spec;
          this.verb = verb.toLowerCase();
      }
      describe() {
          return `"${this.verb} ${this.path}"`;
      }
  }
  exports.BaseRoute = BaseRoute;
  //# sourceMappingURL=base-route.js.map