"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.endpointSpec = void 0;
// export interface IEndpointSpec {
//   entityType: typeRef;  // this requires that TRequest extends Object.  It prob should.  Not sure where that breaks down - what is the scenario that we are passing in a contract that doesnt extend Object? 
//   httpMethod: httpRestVerb;
//   route: string;
//   serializerMap?: stringDictionary;
// }
class endpointSpec {
    /**
     *
     * @param entityType
     * @param httpMethod
     * @param route
     * @param baseUrl Overrides the api base url.
     * @param serializerMap
     */
    constructor(entityType, httpMethod, route, baseUrl, serializerMap) {
        this.entityType = entityType;
        this.httpMethod = httpMethod;
        this.route = route;
        this.baseUrl = baseUrl;
        this.serializerMap = serializerMap;
    }
}
exports.endpointSpec = endpointSpec;
//# sourceMappingURL=endpoint-spec.js.map