@microsoft.azure/autorest.testserver
Version:
Autorest test server.
20 lines • 883 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const api_1 = require("../../api");
api_1.app.category("vanilla", () => {
// This API should never be called so remove the name for coverage.
api_1.app.get("/implicit/required/path/:pathParameter", undefined, (req) => {
return {
status: 400,
message: "Client library failed to throw when an implicitly required path parameter is not provided.",
};
});
// This API should never be called so remove the name for coverage.
api_1.app.get("/reqopt/global/required/path/:required_global_path", undefined, (req) => {
return {
status: 400,
message: "Client library failed to throw when an explicitly required parameter parameter is not provided.",
};
});
});
//# sourceMappingURL=param-required-optional.js.map