diff --git a/npm/packs/client-generator/lib/index.js b/npm/packs/client-generator/lib/index.js index 94b1730956..856a9b020a 100644 --- a/npm/packs/client-generator/lib/index.js +++ b/npm/packs/client-generator/lib/index.js @@ -1,20 +1,77 @@ #!/usr/bin/env node "use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var chalk_1 = __importDefault(require("chalk")); var commander_1 = __importDefault(require("commander")); +var ora_1 = __importDefault(require("ora")); +var axios_1 = require("./utils/axios"); +var prompt_1 = require("./utils/prompt"); var clear = require('clear'); var figlet = require('figlet'); clear(); console.log(chalk_1.default.red(figlet.textSync('ABP', { horizontalLayout: 'full' }))); commander_1.default .version('0.0.1') - .description("ABP Client Generator") + .description('ABP Client Generator') .option('-u, --ui', 'UI option (Angular)') .parse(process.argv); if (!process.argv.slice(2).length) { commander_1.default.outputHelp(); + process.exit(1); } +var loading = ora_1.default('Waiting for API response... \n'); +loading.start(); +(function () { + return __awaiter(this, void 0, void 0, function () { + var data; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, axios_1.axiosInstance.get('a')]; + case 1: + data = _a.sent(); + loading.stop(); + prompt_1.selectingModule(Object.keys(data)); + return [2 /*return*/]; + } + }); + }); +})(); diff --git a/npm/packs/client-generator/lib/utils/axios.js b/npm/packs/client-generator/lib/utils/axios.js index af4c200280..b801fae9b5 100644 --- a/npm/packs/client-generator/lib/utils/axios.js +++ b/npm/packs/client-generator/lib/utils/axios.js @@ -10,2106 +10,2110 @@ exports.axiosInstance.get = function () { for (var _i = 0; _i < arguments.length; _i++) { ar[_i] = arguments[_i]; } - return ({ - "modules": { - "Account": { - "rootPath": "Account", - "controllers": { - "Volo.Abp.Account.Web.Areas.Account.Controllers.AccountController": { - "controllerName": "Account", - "typeAsString": "Volo.Abp.Account.Web.Areas.Account.Controllers.AccountController, Volo.Abp.Account.Web", - "interfaces": [], - "actions": { - "LoginByLogin": { - "uniqueName": "LoginByLogin", - "name": "Login", - "httpMethod": "POST", - "url": "api/account/login", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "login", - "typeAsString": "Volo.Abp.Account.Web.Areas.Account.Controllers.Models.UserLoginInfo, Volo.Abp.Account.Web", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "login", - "name": "login", - "typeAsString": "Volo.Abp.Account.Web.Areas.Account.Controllers.Models.UserLoginInfo, Volo.Abp.Account.Web", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Account.Web.Areas.Account.Controllers.Models.AbpLoginResult, Volo.Abp.Account.Web" - } - }, - "CheckPasswordByLogin": { - "uniqueName": "CheckPasswordByLogin", - "name": "CheckPassword", - "httpMethod": "POST", - "url": "api/account/checkPassword", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "login", - "typeAsString": "Volo.Abp.Account.Web.Areas.Account.Controllers.Models.UserLoginInfo, Volo.Abp.Account.Web", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "login", - "name": "login", - "typeAsString": "Volo.Abp.Account.Web.Areas.Account.Controllers.Models.UserLoginInfo, Volo.Abp.Account.Web", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" + return new Promise(function (resolve) { + setTimeout(function () { + resolve({ + "modules": { + "Account": { + "rootPath": "Account", + "controllers": { + "Volo.Abp.Account.Web.Areas.Account.Controllers.AccountController": { + "controllerName": "Account", + "typeAsString": "Volo.Abp.Account.Web.Areas.Account.Controllers.AccountController, Volo.Abp.Account.Web", + "interfaces": [], + "actions": { + "LoginByLogin": { + "uniqueName": "LoginByLogin", + "name": "Login", + "httpMethod": "POST", + "url": "api/account/login", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "login", + "typeAsString": "Volo.Abp.Account.Web.Areas.Account.Controllers.Models.UserLoginInfo, Volo.Abp.Account.Web", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "login", + "name": "login", + "typeAsString": "Volo.Abp.Account.Web.Areas.Account.Controllers.Models.UserLoginInfo, Volo.Abp.Account.Web", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Account.Web.Areas.Account.Controllers.Models.AbpLoginResult, Volo.Abp.Account.Web" + } + }, + "CheckPasswordByLogin": { + "uniqueName": "CheckPasswordByLogin", + "name": "CheckPassword", + "httpMethod": "POST", + "url": "api/account/checkPassword", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "login", + "typeAsString": "Volo.Abp.Account.Web.Areas.Account.Controllers.Models.UserLoginInfo, Volo.Abp.Account.Web", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "login", + "name": "login", + "typeAsString": "Volo.Abp.Account.Web.Areas.Account.Controllers.Models.UserLoginInfo, Volo.Abp.Account.Web", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Account.Web.Areas.Account.Controllers.Models.AbpLoginResult, Volo.Abp.Account.Web" + } } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Account.Web.Areas.Account.Controllers.Models.AbpLoginResult, Volo.Abp.Account.Web" - } - } - } - } - } - }, - "app": { - "rootPath": "app", - "controllers": { - "Acme.AngSecTest.Controllers.TestController": { - "controllerName": "Test", - "typeAsString": "Acme.AngSecTest.Controllers.TestController, Acme.AngSecTest.HttpApi", - "interfaces": [], - "actions": { - "GetAsync": { - "uniqueName": "GetAsync", - "name": "GetAsync", - "httpMethod": "GET", - "url": "api/test", - "supportedVersions": [], - "parametersOnMethod": [], - "parameters": [], - "returnValue": { - "typeAsString": "System.Collections.Generic.List`1[[Acme.AngSecTest.Models.Test.TestModel, Acme.AngSecTest.HttpApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib" } } } }, - "Acme.AngSecTest.Controllers.Automobiles.carController": { - "controllerName": "car", - "typeAsString": "Acme.AngSecTest.Controllers.Automobiles.carController, Acme.AngSecTest.HttpApi", - "interfaces": [ - { - "typeAsString": "Acme.AngSecTest.Automobiles.IcarAppService, Acme.AngSecTest.Application.Contracts" - } - ], - "actions": { - "GetAsyncById": { - "uniqueName": "GetAsyncById", - "name": "GetAsync", - "httpMethod": "GET", - "url": "api/car/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" + "app": { + "rootPath": "app", + "controllers": { + "Acme.AngSecTest.Controllers.TestController": { + "controllerName": "Test", + "typeAsString": "Acme.AngSecTest.Controllers.TestController, Acme.AngSecTest.HttpApi", + "interfaces": [], + "actions": { + "GetAsync": { + "uniqueName": "GetAsync", + "name": "GetAsync", + "httpMethod": "GET", + "url": "api/test", + "supportedVersions": [], + "parametersOnMethod": [], + "parameters": [], + "returnValue": { + "typeAsString": "System.Collections.Generic.List`1[[Acme.AngSecTest.Models.Test.TestModel, Acme.AngSecTest.HttpApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib" + } } - ], - "returnValue": { - "typeAsString": "Acme.AngSecTest.Automobiles.carDto, Acme.AngSecTest.Application.Contracts" } }, - "GetListAsyncByInput": { - "uniqueName": "GetListAsyncByInput", - "name": "GetListAsync", - "httpMethod": "GET", - "url": "api/car", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "input", - "typeAsString": "Acme.AngSecTest.Automobiles.GetcarsInput, Acme.AngSecTest.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "input", - "name": "FilterText", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "Acme.AngSecTest.Controllers.Automobiles.carController": { + "controllerName": "car", + "typeAsString": "Acme.AngSecTest.Controllers.Automobiles.carController, Acme.AngSecTest.HttpApi", + "interfaces": [ + { + "typeAsString": "Acme.AngSecTest.Automobiles.IcarAppService, Acme.AngSecTest.Application.Contracts" + } + ], + "actions": { + "GetAsyncById": { + "uniqueName": "GetAsyncById", + "name": "GetAsync", + "httpMethod": "GET", + "url": "api/car/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "Acme.AngSecTest.Automobiles.carDto, Acme.AngSecTest.Application.Contracts" + } }, - { - "nameOnMethod": "input", - "name": "Name", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - }, - { - "nameOnMethod": "input", - "name": "YearMin", - "typeAsString": "System.Nullable`1[[System.Int64, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - }, - { - "nameOnMethod": "input", - "name": "YearMax", - "typeAsString": "System.Nullable`1[[System.Int64, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - }, - { - "nameOnMethod": "input", - "name": "ProductionDateMin", - "typeAsString": "System.Nullable`1[[System.DateTime, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - }, - { - "nameOnMethod": "input", - "name": "ProductionDateMax", - "typeAsString": "System.Nullable`1[[System.DateTime, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - }, - { - "nameOnMethod": "input", - "name": "IsStillGoing", - "typeAsString": "System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - }, - { - "nameOnMethod": "input", - "name": "Sorting", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - }, - { - "nameOnMethod": "input", - "name": "SkipCount", - "typeAsString": "System.Int32, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "GetListAsyncByInput": { + "uniqueName": "GetListAsyncByInput", + "name": "GetListAsync", + "httpMethod": "GET", + "url": "api/car", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Acme.AngSecTest.Automobiles.GetcarsInput, Acme.AngSecTest.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "FilterText", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "Name", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "YearMin", + "typeAsString": "System.Nullable`1[[System.Int64, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "YearMax", + "typeAsString": "System.Nullable`1[[System.Int64, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "ProductionDateMin", + "typeAsString": "System.Nullable`1[[System.DateTime, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "ProductionDateMax", + "typeAsString": "System.Nullable`1[[System.DateTime, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "IsStillGoing", + "typeAsString": "System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "Sorting", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "SkipCount", + "typeAsString": "System.Int32, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "MaxResultCount", + "typeAsString": "System.Int32, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Application.Dtos.PagedResultDto`1[[Acme.AngSecTest.Automobiles.carDto, Acme.AngSecTest.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts" + } }, - { - "nameOnMethod": "input", - "name": "MaxResultCount", - "typeAsString": "System.Int32, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Application.Dtos.PagedResultDto`1[[Acme.AngSecTest.Automobiles.carDto, Acme.AngSecTest.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts" - } - }, - "CreateAsyncByInput": { - "uniqueName": "CreateAsyncByInput", - "name": "CreateAsync", - "httpMethod": "POST", - "url": "api/car", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "input", - "typeAsString": "Acme.AngSecTest.Automobiles.carCreateDto, Acme.AngSecTest.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "input", - "name": "input", - "typeAsString": "Acme.AngSecTest.Automobiles.carCreateDto, Acme.AngSecTest.Application.Contracts", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" - } - ], - "returnValue": { - "typeAsString": "Acme.AngSecTest.Automobiles.carDto, Acme.AngSecTest.Application.Contracts" - } - }, - "UpdateAsyncByIdAndInput": { - "uniqueName": "UpdateAsyncByIdAndInput", - "name": "UpdateAsync", - "httpMethod": "PUT", - "url": "api/car/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null + "CreateAsyncByInput": { + "uniqueName": "CreateAsyncByInput", + "name": "CreateAsync", + "httpMethod": "POST", + "url": "api/car", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Acme.AngSecTest.Automobiles.carCreateDto, Acme.AngSecTest.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "typeAsString": "Acme.AngSecTest.Automobiles.carCreateDto, Acme.AngSecTest.Application.Contracts", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "Acme.AngSecTest.Automobiles.carDto, Acme.AngSecTest.Application.Contracts" + } }, - { - "name": "input", - "typeAsString": "Acme.AngSecTest.Automobiles.carUpdateDto, Acme.AngSecTest.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" + "UpdateAsyncByIdAndInput": { + "uniqueName": "UpdateAsyncByIdAndInput", + "name": "UpdateAsync", + "httpMethod": "PUT", + "url": "api/car/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + }, + { + "name": "input", + "typeAsString": "Acme.AngSecTest.Automobiles.carUpdateDto, Acme.AngSecTest.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + }, + { + "nameOnMethod": "input", + "name": "input", + "typeAsString": "Acme.AngSecTest.Automobiles.carUpdateDto, Acme.AngSecTest.Application.Contracts", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "Acme.AngSecTest.Automobiles.carDto, Acme.AngSecTest.Application.Contracts" + } }, - { - "nameOnMethod": "input", - "name": "input", - "typeAsString": "Acme.AngSecTest.Automobiles.carUpdateDto, Acme.AngSecTest.Application.Contracts", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" + "DeleteAsyncById": { + "uniqueName": "DeleteAsyncById", + "name": "DeleteAsync", + "httpMethod": "DELETE", + "url": "api/car/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "System.Void, System.Private.CoreLib" + } } - ], - "returnValue": { - "typeAsString": "Acme.AngSecTest.Automobiles.carDto, Acme.AngSecTest.Application.Contracts" } }, - "DeleteAsyncById": { - "uniqueName": "DeleteAsyncById", - "name": "DeleteAsync", - "httpMethod": "DELETE", - "url": "api/car/{id}", - "supportedVersions": [], - "parametersOnMethod": [ + "Acme.AngSecTest.AppServices.Automobiles.carAppService": { + "controllerName": "car", + "typeAsString": "Acme.AngSecTest.AppServices.Automobiles.carAppService, Acme.AngSecTest.Application", + "interfaces": [ { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - } - ], - "returnValue": { - "typeAsString": "System.Void, System.Private.CoreLib" - } - } - } - }, - "Acme.AngSecTest.AppServices.Automobiles.carAppService": { - "controllerName": "car", - "typeAsString": "Acme.AngSecTest.AppServices.Automobiles.carAppService, Acme.AngSecTest.Application", - "interfaces": [ - { - "typeAsString": "Volo.Abp.Validation.IValidationEnabled, Volo.Abp.Validation" - }, - { - "typeAsString": "Volo.Abp.Auditing.IAuditingEnabled, Volo.Abp.Auditing" - }, - { - "typeAsString": "Acme.AngSecTest.Automobiles.IcarAppService, Acme.AngSecTest.Application.Contracts" - } - ], - "actions": { - "GetListAsyncByInput": { - "uniqueName": "GetListAsyncByInput", - "name": "GetListAsync", - "httpMethod": "GET", - "url": "api/app/car", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "input", - "typeAsString": "Acme.AngSecTest.Automobiles.GetcarsInput, Acme.AngSecTest.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "input", - "name": "FilterText", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "typeAsString": "Volo.Abp.Validation.IValidationEnabled, Volo.Abp.Validation" }, { - "nameOnMethod": "input", - "name": "Name", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "typeAsString": "Volo.Abp.Auditing.IAuditingEnabled, Volo.Abp.Auditing" }, { - "nameOnMethod": "input", - "name": "YearMin", - "typeAsString": "System.Nullable`1[[System.Int64, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "typeAsString": "Acme.AngSecTest.Automobiles.IcarAppService, Acme.AngSecTest.Application.Contracts" + } + ], + "actions": { + "GetListAsyncByInput": { + "uniqueName": "GetListAsyncByInput", + "name": "GetListAsync", + "httpMethod": "GET", + "url": "api/app/car", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Acme.AngSecTest.Automobiles.GetcarsInput, Acme.AngSecTest.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "FilterText", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "Name", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "YearMin", + "typeAsString": "System.Nullable`1[[System.Int64, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "YearMax", + "typeAsString": "System.Nullable`1[[System.Int64, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "ProductionDateMin", + "typeAsString": "System.Nullable`1[[System.DateTime, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "ProductionDateMax", + "typeAsString": "System.Nullable`1[[System.DateTime, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "IsStillGoing", + "typeAsString": "System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "Sorting", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "SkipCount", + "typeAsString": "System.Int32, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "MaxResultCount", + "typeAsString": "System.Int32, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Application.Dtos.PagedResultDto`1[[Acme.AngSecTest.Automobiles.carDto, Acme.AngSecTest.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts" + } }, - { - "nameOnMethod": "input", - "name": "YearMax", - "typeAsString": "System.Nullable`1[[System.Int64, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "GetAsyncById": { + "uniqueName": "GetAsyncById", + "name": "GetAsync", + "httpMethod": "GET", + "url": "api/app/car/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "Acme.AngSecTest.Automobiles.carDto, Acme.AngSecTest.Application.Contracts" + } }, - { - "nameOnMethod": "input", - "name": "ProductionDateMin", - "typeAsString": "System.Nullable`1[[System.DateTime, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "DeleteAsyncById": { + "uniqueName": "DeleteAsyncById", + "name": "DeleteAsync", + "httpMethod": "DELETE", + "url": "api/app/car/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "System.Void, System.Private.CoreLib" + } }, - { - "nameOnMethod": "input", - "name": "ProductionDateMax", - "typeAsString": "System.Nullable`1[[System.DateTime, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "CreateAsyncByInput": { + "uniqueName": "CreateAsyncByInput", + "name": "CreateAsync", + "httpMethod": "POST", + "url": "api/app/car", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Acme.AngSecTest.Automobiles.carCreateDto, Acme.AngSecTest.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "typeAsString": "Acme.AngSecTest.Automobiles.carCreateDto, Acme.AngSecTest.Application.Contracts", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "Acme.AngSecTest.Automobiles.carDto, Acme.AngSecTest.Application.Contracts" + } }, - { - "nameOnMethod": "input", - "name": "IsStillGoing", - "typeAsString": "System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - }, - { - "nameOnMethod": "input", - "name": "Sorting", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - }, - { - "nameOnMethod": "input", - "name": "SkipCount", - "typeAsString": "System.Int32, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - }, - { - "nameOnMethod": "input", - "name": "MaxResultCount", - "typeAsString": "System.Int32, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Application.Dtos.PagedResultDto`1[[Acme.AngSecTest.Automobiles.carDto, Acme.AngSecTest.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts" - } - }, - "GetAsyncById": { - "uniqueName": "GetAsyncById", - "name": "GetAsync", - "httpMethod": "GET", - "url": "api/app/car/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null + "UpdateAsyncByIdAndInput": { + "uniqueName": "UpdateAsyncByIdAndInput", + "name": "UpdateAsync", + "httpMethod": "PUT", + "url": "api/app/car/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + }, + { + "name": "input", + "typeAsString": "Acme.AngSecTest.Automobiles.carUpdateDto, Acme.AngSecTest.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + }, + { + "nameOnMethod": "input", + "name": "input", + "typeAsString": "Acme.AngSecTest.Automobiles.carUpdateDto, Acme.AngSecTest.Application.Contracts", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "Acme.AngSecTest.Automobiles.carDto, Acme.AngSecTest.Application.Contracts" + } } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - } - ], - "returnValue": { - "typeAsString": "Acme.AngSecTest.Automobiles.carDto, Acme.AngSecTest.Application.Contracts" } }, - "DeleteAsyncById": { - "uniqueName": "DeleteAsyncById", - "name": "DeleteAsync", - "httpMethod": "DELETE", - "url": "api/app/car/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null + "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController": { + "controllerName": "AbpApplicationConfiguration", + "typeAsString": "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController, Volo.Abp.AspNetCore.Mvc", + "interfaces": [ + { + "typeAsString": "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.IAbpApplicationConfigurationAppService, Volo.Abp.AspNetCore.Mvc.Contracts" + } + ], + "actions": { + "GetAsync": { + "uniqueName": "GetAsync", + "name": "GetAsync", + "httpMethod": "GET", + "url": "api/abp/application-configuration", + "supportedVersions": [], + "parametersOnMethod": [], + "parameters": [], + "returnValue": { + "typeAsString": "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto, Volo.Abp.AspNetCore.Mvc.Contracts" + } } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - } - ], - "returnValue": { - "typeAsString": "System.Void, System.Private.CoreLib" } }, - "CreateAsyncByInput": { - "uniqueName": "CreateAsyncByInput", - "name": "CreateAsync", - "httpMethod": "POST", - "url": "api/app/car", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "input", - "typeAsString": "Acme.AngSecTest.Automobiles.carCreateDto, Acme.AngSecTest.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "input", - "name": "input", - "typeAsString": "Acme.AngSecTest.Automobiles.carCreateDto, Acme.AngSecTest.Application.Contracts", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" + "Volo.Abp.AspNetCore.Mvc.ApiExploring.AbpApiDefinitionController": { + "controllerName": "AbpApiDefinition", + "typeAsString": "Volo.Abp.AspNetCore.Mvc.ApiExploring.AbpApiDefinitionController, Volo.Abp.AspNetCore.Mvc", + "interfaces": [], + "actions": { + "Get": { + "uniqueName": "Get", + "name": "Get", + "httpMethod": "GET", + "url": "api/abp/api-definition", + "supportedVersions": [], + "parametersOnMethod": [], + "parameters": [], + "returnValue": { + "typeAsString": "Volo.Abp.Http.Modeling.ApplicationApiDescriptionModel, Volo.Abp.Http" + } } - ], - "returnValue": { - "typeAsString": "Acme.AngSecTest.Automobiles.carDto, Acme.AngSecTest.Application.Contracts" } }, - "UpdateAsyncByIdAndInput": { - "uniqueName": "UpdateAsyncByIdAndInput", - "name": "UpdateAsync", - "httpMethod": "PUT", - "url": "api/app/car/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - }, - { - "name": "input", - "typeAsString": "Acme.AngSecTest.Automobiles.carUpdateDto, Acme.AngSecTest.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" + "Pages.Abp.MultiTenancy.AbpTenantController": { + "controllerName": "AbpTenant", + "typeAsString": "Pages.Abp.MultiTenancy.AbpTenantController, Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy", + "interfaces": [ + { + "typeAsString": "Volo.Abp.AspNetCore.Mvc.MultiTenancy.IAbpTenantAppService, Volo.Abp.AspNetCore.Mvc.Contracts" + } + ], + "actions": { + "FindTenantByNameAsyncByName": { + "uniqueName": "FindTenantByNameAsyncByName", + "name": "FindTenantByNameAsync", + "httpMethod": "GET", + "url": "api/abp/multi-tenancy/find-tenant/{name}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "name", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "name", + "name": "name", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.AspNetCore.Mvc.MultiTenancy.FindTenantResultDto, Volo.Abp.AspNetCore.Mvc.Contracts" + } }, - { - "nameOnMethod": "input", - "name": "input", - "typeAsString": "Acme.AngSecTest.Automobiles.carUpdateDto, Acme.AngSecTest.Application.Contracts", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" + "FindTenantByIdAsyncById": { + "uniqueName": "FindTenantByIdAsyncById", + "name": "FindTenantByIdAsync", + "httpMethod": "GET", + "url": "api/abp/multi-tenancy/tenants/by-id/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.AspNetCore.Mvc.MultiTenancy.FindTenantResultDto, Volo.Abp.AspNetCore.Mvc.Contracts" + } } - ], - "returnValue": { - "typeAsString": "Acme.AngSecTest.Automobiles.carDto, Acme.AngSecTest.Application.Contracts" - } - } - } - }, - "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController": { - "controllerName": "AbpApplicationConfiguration", - "typeAsString": "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController, Volo.Abp.AspNetCore.Mvc", - "interfaces": [ - { - "typeAsString": "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.IAbpApplicationConfigurationAppService, Volo.Abp.AspNetCore.Mvc.Contracts" - } - ], - "actions": { - "GetAsync": { - "uniqueName": "GetAsync", - "name": "GetAsync", - "httpMethod": "GET", - "url": "api/abp/application-configuration", - "supportedVersions": [], - "parametersOnMethod": [], - "parameters": [], - "returnValue": { - "typeAsString": "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto, Volo.Abp.AspNetCore.Mvc.Contracts" } } } }, - "Volo.Abp.AspNetCore.Mvc.ApiExploring.AbpApiDefinitionController": { - "controllerName": "AbpApiDefinition", - "typeAsString": "Volo.Abp.AspNetCore.Mvc.ApiExploring.AbpApiDefinitionController, Volo.Abp.AspNetCore.Mvc", - "interfaces": [], - "actions": { - "Get": { - "uniqueName": "Get", - "name": "Get", - "httpMethod": "GET", - "url": "api/abp/api-definition", - "supportedVersions": [], - "parametersOnMethod": [], - "parameters": [], - "returnValue": { - "typeAsString": "Volo.Abp.Http.Modeling.ApplicationApiDescriptionModel, Volo.Abp.Http" - } - } - } - }, - "Pages.Abp.MultiTenancy.AbpTenantController": { - "controllerName": "AbpTenant", - "typeAsString": "Pages.Abp.MultiTenancy.AbpTenantController, Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy", - "interfaces": [ - { - "typeAsString": "Volo.Abp.AspNetCore.Mvc.MultiTenancy.IAbpTenantAppService, Volo.Abp.AspNetCore.Mvc.Contracts" - } - ], - "actions": { - "FindTenantByNameAsyncByName": { - "uniqueName": "FindTenantByNameAsyncByName", - "name": "FindTenantByNameAsync", - "httpMethod": "GET", - "url": "api/abp/multi-tenancy/find-tenant/{name}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "name", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null + "account": { + "rootPath": "account", + "controllers": { + "Volo.Abp.Account.AccountController": { + "controllerName": "Account", + "typeAsString": "Volo.Abp.Account.AccountController, Volo.Abp.Account.HttpApi", + "interfaces": [ + { + "typeAsString": "Volo.Abp.Account.IAccountAppService, Volo.Abp.Account.Application.Contracts" + } + ], + "actions": { + "RegisterAsyncByInput": { + "uniqueName": "RegisterAsyncByInput", + "name": "RegisterAsync", + "httpMethod": "POST", + "url": "api/account/register", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Account.RegisterDto, Volo.Abp.Account.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "typeAsString": "Volo.Abp.Account.RegisterDto, Volo.Abp.Account.Application.Contracts", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Identity.IdentityUserDto, Volo.Abp.Identity.Application.Contracts" + } } - ], - "parameters": [ - { - "nameOnMethod": "name", - "name": "name", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.AspNetCore.Mvc.MultiTenancy.FindTenantResultDto, Volo.Abp.AspNetCore.Mvc.Contracts" - } - }, - "FindTenantByIdAsyncById": { - "uniqueName": "FindTenantByIdAsyncById", - "name": "FindTenantByIdAsync", - "httpMethod": "GET", - "url": "api/abp/multi-tenancy/tenants/by-id/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.AspNetCore.Mvc.MultiTenancy.FindTenantResultDto, Volo.Abp.AspNetCore.Mvc.Contracts" } } } - } - } - }, - "account": { - "rootPath": "account", - "controllers": { - "Volo.Abp.Account.AccountController": { - "controllerName": "Account", - "typeAsString": "Volo.Abp.Account.AccountController, Volo.Abp.Account.HttpApi", - "interfaces": [ - { - "typeAsString": "Volo.Abp.Account.IAccountAppService, Volo.Abp.Account.Application.Contracts" - } - ], - "actions": { - "RegisterAsyncByInput": { - "uniqueName": "RegisterAsyncByInput", - "name": "RegisterAsync", - "httpMethod": "POST", - "url": "api/account/register", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "input", - "typeAsString": "Volo.Abp.Account.RegisterDto, Volo.Abp.Account.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "input", - "name": "input", - "typeAsString": "Volo.Abp.Account.RegisterDto, Volo.Abp.Account.Application.Contracts", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Identity.IdentityUserDto, Volo.Abp.Identity.Application.Contracts" - } - } - } - } - } - }, - "abp": { - "rootPath": "abp", - "controllers": { - "Volo.Abp.FeatureManagement.FeaturesController": { - "controllerName": "Features", - "typeAsString": "Volo.Abp.FeatureManagement.FeaturesController, Volo.Abp.FeatureManagement.HttpApi", - "interfaces": [ - { - "typeAsString": "Volo.Abp.FeatureManagement.IFeatureAppService, Volo.Abp.FeatureManagement.Application.Contracts" - } - ], - "actions": { - "GetAsyncByProviderNameAndProviderKey": { - "uniqueName": "GetAsyncByProviderNameAndProviderKey", - "name": "GetAsync", - "httpMethod": "GET", - "url": "api/abp/features", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "providerName", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - }, - { - "name": "providerKey", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "providerName", - "name": "providerName", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + }, + "abp": { + "rootPath": "abp", + "controllers": { + "Volo.Abp.FeatureManagement.FeaturesController": { + "controllerName": "Features", + "typeAsString": "Volo.Abp.FeatureManagement.FeaturesController, Volo.Abp.FeatureManagement.HttpApi", + "interfaces": [ + { + "typeAsString": "Volo.Abp.FeatureManagement.IFeatureAppService, Volo.Abp.FeatureManagement.Application.Contracts" + } + ], + "actions": { + "GetAsyncByProviderNameAndProviderKey": { + "uniqueName": "GetAsyncByProviderNameAndProviderKey", + "name": "GetAsync", + "httpMethod": "GET", + "url": "api/abp/features", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "providerName", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + }, + { + "name": "providerKey", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "providerName", + "name": "providerName", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "providerKey", + "name": "providerKey", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.FeatureManagement.FeatureListDto, Volo.Abp.FeatureManagement.Application.Contracts" + } }, - { - "nameOnMethod": "providerKey", - "name": "providerKey", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "UpdateAsyncByProviderNameAndProviderKeyAndInput": { + "uniqueName": "UpdateAsyncByProviderNameAndProviderKeyAndInput", + "name": "UpdateAsync", + "httpMethod": "PUT", + "url": "api/abp/features", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "providerName", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + }, + { + "name": "providerKey", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + }, + { + "name": "input", + "typeAsString": "Volo.Abp.FeatureManagement.UpdateFeaturesDto, Volo.Abp.FeatureManagement.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "providerName", + "name": "providerName", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "providerKey", + "name": "providerKey", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "input", + "typeAsString": "Volo.Abp.FeatureManagement.UpdateFeaturesDto, Volo.Abp.FeatureManagement.Application.Contracts", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "System.Void, System.Private.CoreLib" + } } - ], - "returnValue": { - "typeAsString": "Volo.Abp.FeatureManagement.FeatureListDto, Volo.Abp.FeatureManagement.Application.Contracts" } }, - "UpdateAsyncByProviderNameAndProviderKeyAndInput": { - "uniqueName": "UpdateAsyncByProviderNameAndProviderKeyAndInput", - "name": "UpdateAsync", - "httpMethod": "PUT", - "url": "api/abp/features", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "providerName", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - }, - { - "name": "providerKey", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - }, - { - "name": "input", - "typeAsString": "Volo.Abp.FeatureManagement.UpdateFeaturesDto, Volo.Abp.FeatureManagement.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "providerName", - "name": "providerName", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - }, - { - "nameOnMethod": "providerKey", - "name": "providerKey", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "Volo.Abp.PermissionManagement.PermissionsController": { + "controllerName": "Permissions", + "typeAsString": "Volo.Abp.PermissionManagement.PermissionsController, Volo.Abp.PermissionManagement.HttpApi", + "interfaces": [ + { + "typeAsString": "Volo.Abp.PermissionManagement.IPermissionAppService, Volo.Abp.PermissionManagement.Application.Contracts" + } + ], + "actions": { + "GetAsyncByProviderNameAndProviderKey": { + "uniqueName": "GetAsyncByProviderNameAndProviderKey", + "name": "GetAsync", + "httpMethod": "GET", + "url": "api/abp/permissions", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "providerName", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + }, + { + "name": "providerKey", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "providerName", + "name": "providerName", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "providerKey", + "name": "providerKey", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.PermissionManagement.GetPermissionListResultDto, Volo.Abp.PermissionManagement.Application.Contracts" + } }, - { - "nameOnMethod": "input", - "name": "input", - "typeAsString": "Volo.Abp.FeatureManagement.UpdateFeaturesDto, Volo.Abp.FeatureManagement.Application.Contracts", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" + "UpdateAsyncByProviderNameAndProviderKeyAndInput": { + "uniqueName": "UpdateAsyncByProviderNameAndProviderKeyAndInput", + "name": "UpdateAsync", + "httpMethod": "PUT", + "url": "api/abp/permissions", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "providerName", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + }, + { + "name": "providerKey", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + }, + { + "name": "input", + "typeAsString": "Volo.Abp.PermissionManagement.UpdatePermissionsDto, Volo.Abp.PermissionManagement.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "providerName", + "name": "providerName", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "providerKey", + "name": "providerKey", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "input", + "typeAsString": "Volo.Abp.PermissionManagement.UpdatePermissionsDto, Volo.Abp.PermissionManagement.Application.Contracts", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "System.Void, System.Private.CoreLib" + } } - ], - "returnValue": { - "typeAsString": "System.Void, System.Private.CoreLib" } } } }, - "Volo.Abp.PermissionManagement.PermissionsController": { - "controllerName": "Permissions", - "typeAsString": "Volo.Abp.PermissionManagement.PermissionsController, Volo.Abp.PermissionManagement.HttpApi", - "interfaces": [ - { - "typeAsString": "Volo.Abp.PermissionManagement.IPermissionAppService, Volo.Abp.PermissionManagement.Application.Contracts" - } - ], - "actions": { - "GetAsyncByProviderNameAndProviderKey": { - "uniqueName": "GetAsyncByProviderNameAndProviderKey", - "name": "GetAsync", - "httpMethod": "GET", - "url": "api/abp/permissions", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "providerName", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null + "multi-tenancy": { + "rootPath": "multi-tenancy", + "controllers": { + "Volo.Abp.TenantManagement.TenantController": { + "controllerName": "Tenant", + "typeAsString": "Volo.Abp.TenantManagement.TenantController, Volo.Abp.TenantManagement.HttpApi", + "interfaces": [ + { + "typeAsString": "Volo.Abp.TenantManagement.ITenantAppService, Volo.Abp.TenantManagement.Application.Contracts" + } + ], + "actions": { + "GetAsyncById": { + "uniqueName": "GetAsyncById", + "name": "GetAsync", + "httpMethod": "GET", + "url": "api/multi-tenancy/tenants/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.TenantManagement.TenantDto, Volo.Abp.TenantManagement.Application.Contracts" + } }, - { - "name": "providerKey", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "providerName", - "name": "providerName", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "GetListAsyncByInput": { + "uniqueName": "GetListAsyncByInput", + "name": "GetListAsync", + "httpMethod": "GET", + "url": "api/multi-tenancy/tenants", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.TenantManagement.GetTenantsInput, Volo.Abp.TenantManagement.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "Filter", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "Sorting", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "SkipCount", + "typeAsString": "System.Int32, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "MaxResultCount", + "typeAsString": "System.Int32, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Application.Dtos.PagedResultDto`1[[Volo.Abp.TenantManagement.TenantDto, Volo.Abp.TenantManagement.Application.Contracts, Version=1.0.2.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts" + } }, - { - "nameOnMethod": "providerKey", - "name": "providerKey", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.PermissionManagement.GetPermissionListResultDto, Volo.Abp.PermissionManagement.Application.Contracts" - } - }, - "UpdateAsyncByProviderNameAndProviderKeyAndInput": { - "uniqueName": "UpdateAsyncByProviderNameAndProviderKeyAndInput", - "name": "UpdateAsync", - "httpMethod": "PUT", - "url": "api/abp/permissions", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "providerName", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null + "CreateAsyncByInput": { + "uniqueName": "CreateAsyncByInput", + "name": "CreateAsync", + "httpMethod": "POST", + "url": "api/multi-tenancy/tenants", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.TenantManagement.TenantCreateDto, Volo.Abp.TenantManagement.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "typeAsString": "Volo.Abp.TenantManagement.TenantCreateDto, Volo.Abp.TenantManagement.Application.Contracts", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.TenantManagement.TenantDto, Volo.Abp.TenantManagement.Application.Contracts" + } }, - { - "name": "providerKey", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null + "UpdateAsyncByIdAndInput": { + "uniqueName": "UpdateAsyncByIdAndInput", + "name": "UpdateAsync", + "httpMethod": "PUT", + "url": "api/multi-tenancy/tenants/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + }, + { + "name": "input", + "typeAsString": "Volo.Abp.TenantManagement.TenantUpdateDto, Volo.Abp.TenantManagement.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + }, + { + "nameOnMethod": "input", + "name": "input", + "typeAsString": "Volo.Abp.TenantManagement.TenantUpdateDto, Volo.Abp.TenantManagement.Application.Contracts", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.TenantManagement.TenantDto, Volo.Abp.TenantManagement.Application.Contracts" + } }, - { - "name": "input", - "typeAsString": "Volo.Abp.PermissionManagement.UpdatePermissionsDto, Volo.Abp.PermissionManagement.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "providerName", - "name": "providerName", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "DeleteAsyncById": { + "uniqueName": "DeleteAsyncById", + "name": "DeleteAsync", + "httpMethod": "DELETE", + "url": "api/multi-tenancy/tenants/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "System.Void, System.Private.CoreLib" + } }, - { - "nameOnMethod": "providerKey", - "name": "providerKey", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "GetDefaultConnectionStringAsyncById": { + "uniqueName": "GetDefaultConnectionStringAsyncById", + "name": "GetDefaultConnectionStringAsync", + "httpMethod": "GET", + "url": "api/multi-tenancy/tenants/{id}/default-connection-string", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "System.String, System.Private.CoreLib" + } }, - { - "nameOnMethod": "input", - "name": "input", - "typeAsString": "Volo.Abp.PermissionManagement.UpdatePermissionsDto, Volo.Abp.PermissionManagement.Application.Contracts", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" + "UpdateDefaultConnectionStringAsyncByIdAndDefaultConnectionString": { + "uniqueName": "UpdateDefaultConnectionStringAsyncByIdAndDefaultConnectionString", + "name": "UpdateDefaultConnectionStringAsync", + "httpMethod": "PUT", + "url": "api/multi-tenancy/tenants/{id}/default-connection-string", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + }, + { + "name": "defaultConnectionString", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + }, + { + "nameOnMethod": "defaultConnectionString", + "name": "defaultConnectionString", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + } + ], + "returnValue": { + "typeAsString": "System.Void, System.Private.CoreLib" + } + }, + "DeleteDefaultConnectionStringAsyncById": { + "uniqueName": "DeleteDefaultConnectionStringAsyncById", + "name": "DeleteDefaultConnectionStringAsync", + "httpMethod": "DELETE", + "url": "api/multi-tenancy/tenants/{id}/default-connection-string", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "System.Void, System.Private.CoreLib" + } } - ], - "returnValue": { - "typeAsString": "System.Void, System.Private.CoreLib" } } } - } - } - }, - "multi-tenancy": { - "rootPath": "multi-tenancy", - "controllers": { - "Volo.Abp.TenantManagement.TenantController": { - "controllerName": "Tenant", - "typeAsString": "Volo.Abp.TenantManagement.TenantController, Volo.Abp.TenantManagement.HttpApi", - "interfaces": [ - { - "typeAsString": "Volo.Abp.TenantManagement.ITenantAppService, Volo.Abp.TenantManagement.Application.Contracts" - } - ], - "actions": { - "GetAsyncById": { - "uniqueName": "GetAsyncById", - "name": "GetAsync", - "httpMethod": "GET", - "url": "api/multi-tenancy/tenants/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.TenantManagement.TenantDto, Volo.Abp.TenantManagement.Application.Contracts" - } - }, - "GetListAsyncByInput": { - "uniqueName": "GetListAsyncByInput", - "name": "GetListAsync", - "httpMethod": "GET", - "url": "api/multi-tenancy/tenants", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "input", - "typeAsString": "Volo.Abp.TenantManagement.GetTenantsInput, Volo.Abp.TenantManagement.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "input", - "name": "Filter", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + }, + "identity": { + "rootPath": "identity", + "controllers": { + "Volo.Abp.Identity.IdentityRoleController": { + "controllerName": "IdentityRole", + "typeAsString": "Volo.Abp.Identity.IdentityRoleController, Volo.Abp.Identity.HttpApi", + "interfaces": [ + { + "typeAsString": "Volo.Abp.Identity.IIdentityRoleAppService, Volo.Abp.Identity.Application.Contracts" + } + ], + "actions": { + "GetListAsync": { + "uniqueName": "GetListAsync", + "name": "GetListAsync", + "httpMethod": "GET", + "url": "api/identity/roles", + "supportedVersions": [], + "parametersOnMethod": [], + "parameters": [], + "returnValue": { + "typeAsString": "Volo.Abp.Application.Dtos.ListResultDto`1[[Volo.Abp.Identity.IdentityRoleDto, Volo.Abp.Identity.Application.Contracts, Version=1.0.2.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts" + } }, - { - "nameOnMethod": "input", - "name": "Sorting", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "GetAsyncById": { + "uniqueName": "GetAsyncById", + "name": "GetAsync", + "httpMethod": "GET", + "url": "api/identity/roles/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Identity.IdentityRoleDto, Volo.Abp.Identity.Application.Contracts" + } }, - { - "nameOnMethod": "input", - "name": "SkipCount", - "typeAsString": "System.Int32, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "CreateAsyncByInput": { + "uniqueName": "CreateAsyncByInput", + "name": "CreateAsync", + "httpMethod": "POST", + "url": "api/identity/roles", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Identity.IdentityRoleCreateDto, Volo.Abp.Identity.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "typeAsString": "Volo.Abp.Identity.IdentityRoleCreateDto, Volo.Abp.Identity.Application.Contracts", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Identity.IdentityRoleDto, Volo.Abp.Identity.Application.Contracts" + } }, - { - "nameOnMethod": "input", - "name": "MaxResultCount", - "typeAsString": "System.Int32, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Application.Dtos.PagedResultDto`1[[Volo.Abp.TenantManagement.TenantDto, Volo.Abp.TenantManagement.Application.Contracts, Version=1.0.2.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts" - } - }, - "CreateAsyncByInput": { - "uniqueName": "CreateAsyncByInput", - "name": "CreateAsync", - "httpMethod": "POST", - "url": "api/multi-tenancy/tenants", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "input", - "typeAsString": "Volo.Abp.TenantManagement.TenantCreateDto, Volo.Abp.TenantManagement.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "input", - "name": "input", - "typeAsString": "Volo.Abp.TenantManagement.TenantCreateDto, Volo.Abp.TenantManagement.Application.Contracts", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.TenantManagement.TenantDto, Volo.Abp.TenantManagement.Application.Contracts" - } - }, - "UpdateAsyncByIdAndInput": { - "uniqueName": "UpdateAsyncByIdAndInput", - "name": "UpdateAsync", - "httpMethod": "PUT", - "url": "api/multi-tenancy/tenants/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - }, - { - "name": "input", - "typeAsString": "Volo.Abp.TenantManagement.TenantUpdateDto, Volo.Abp.TenantManagement.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" + "UpdateAsyncByIdAndInput": { + "uniqueName": "UpdateAsyncByIdAndInput", + "name": "UpdateAsync", + "httpMethod": "PUT", + "url": "api/identity/roles/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + }, + { + "name": "input", + "typeAsString": "Volo.Abp.Identity.IdentityRoleUpdateDto, Volo.Abp.Identity.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + }, + { + "nameOnMethod": "input", + "name": "input", + "typeAsString": "Volo.Abp.Identity.IdentityRoleUpdateDto, Volo.Abp.Identity.Application.Contracts", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Identity.IdentityRoleDto, Volo.Abp.Identity.Application.Contracts" + } }, - { - "nameOnMethod": "input", - "name": "input", - "typeAsString": "Volo.Abp.TenantManagement.TenantUpdateDto, Volo.Abp.TenantManagement.Application.Contracts", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" + "DeleteAsyncById": { + "uniqueName": "DeleteAsyncById", + "name": "DeleteAsync", + "httpMethod": "DELETE", + "url": "api/identity/roles/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "System.Void, System.Private.CoreLib" + } } - ], - "returnValue": { - "typeAsString": "Volo.Abp.TenantManagement.TenantDto, Volo.Abp.TenantManagement.Application.Contracts" } }, - "DeleteAsyncById": { - "uniqueName": "DeleteAsyncById", - "name": "DeleteAsync", - "httpMethod": "DELETE", - "url": "api/multi-tenancy/tenants/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - } - ], - "returnValue": { - "typeAsString": "System.Void, System.Private.CoreLib" - } - }, - "GetDefaultConnectionStringAsyncById": { - "uniqueName": "GetDefaultConnectionStringAsyncById", - "name": "GetDefaultConnectionStringAsync", - "httpMethod": "GET", - "url": "api/multi-tenancy/tenants/{id}/default-connection-string", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - } - ], - "returnValue": { - "typeAsString": "System.String, System.Private.CoreLib" - } - }, - "UpdateDefaultConnectionStringAsyncByIdAndDefaultConnectionString": { - "uniqueName": "UpdateDefaultConnectionStringAsyncByIdAndDefaultConnectionString", - "name": "UpdateDefaultConnectionStringAsync", - "httpMethod": "PUT", - "url": "api/multi-tenancy/tenants/{id}/default-connection-string", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null + "Volo.Abp.Identity.IdentityUserController": { + "controllerName": "IdentityUser", + "typeAsString": "Volo.Abp.Identity.IdentityUserController, Volo.Abp.Identity.HttpApi", + "interfaces": [ + { + "typeAsString": "Volo.Abp.Identity.IIdentityUserAppService, Volo.Abp.Identity.Application.Contracts" + } + ], + "actions": { + "GetAsyncById": { + "uniqueName": "GetAsyncById", + "name": "GetAsync", + "httpMethod": "GET", + "url": "api/identity/users/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Identity.IdentityUserDto, Volo.Abp.Identity.Application.Contracts" + } }, - { - "name": "defaultConnectionString", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" + "GetListAsyncByInput": { + "uniqueName": "GetListAsyncByInput", + "name": "GetListAsync", + "httpMethod": "GET", + "url": "api/identity/users", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Identity.GetIdentityUsersInput, Volo.Abp.Identity.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "Filter", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "Sorting", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "SkipCount", + "typeAsString": "System.Int32, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "input", + "name": "MaxResultCount", + "typeAsString": "System.Int32, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Application.Dtos.PagedResultDto`1[[Volo.Abp.Identity.IdentityUserDto, Volo.Abp.Identity.Application.Contracts, Version=1.0.2.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts" + } }, - { - "nameOnMethod": "defaultConnectionString", - "name": "defaultConnectionString", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - } - ], - "returnValue": { - "typeAsString": "System.Void, System.Private.CoreLib" - } - }, - "DeleteDefaultConnectionStringAsyncById": { - "uniqueName": "DeleteDefaultConnectionStringAsyncById", - "name": "DeleteDefaultConnectionStringAsync", - "httpMethod": "DELETE", - "url": "api/multi-tenancy/tenants/{id}/default-connection-string", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - } - ], - "returnValue": { - "typeAsString": "System.Void, System.Private.CoreLib" - } - } - } - } - } - }, - "identity": { - "rootPath": "identity", - "controllers": { - "Volo.Abp.Identity.IdentityRoleController": { - "controllerName": "IdentityRole", - "typeAsString": "Volo.Abp.Identity.IdentityRoleController, Volo.Abp.Identity.HttpApi", - "interfaces": [ - { - "typeAsString": "Volo.Abp.Identity.IIdentityRoleAppService, Volo.Abp.Identity.Application.Contracts" - } - ], - "actions": { - "GetListAsync": { - "uniqueName": "GetListAsync", - "name": "GetListAsync", - "httpMethod": "GET", - "url": "api/identity/roles", - "supportedVersions": [], - "parametersOnMethod": [], - "parameters": [], - "returnValue": { - "typeAsString": "Volo.Abp.Application.Dtos.ListResultDto`1[[Volo.Abp.Identity.IdentityRoleDto, Volo.Abp.Identity.Application.Contracts, Version=1.0.2.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts" - } - }, - "GetAsyncById": { - "uniqueName": "GetAsyncById", - "name": "GetAsync", - "httpMethod": "GET", - "url": "api/identity/roles/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Identity.IdentityRoleDto, Volo.Abp.Identity.Application.Contracts" - } - }, - "CreateAsyncByInput": { - "uniqueName": "CreateAsyncByInput", - "name": "CreateAsync", - "httpMethod": "POST", - "url": "api/identity/roles", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "input", - "typeAsString": "Volo.Abp.Identity.IdentityRoleCreateDto, Volo.Abp.Identity.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "input", - "name": "input", - "typeAsString": "Volo.Abp.Identity.IdentityRoleCreateDto, Volo.Abp.Identity.Application.Contracts", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Identity.IdentityRoleDto, Volo.Abp.Identity.Application.Contracts" - } - }, - "UpdateAsyncByIdAndInput": { - "uniqueName": "UpdateAsyncByIdAndInput", - "name": "UpdateAsync", - "httpMethod": "PUT", - "url": "api/identity/roles/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null + "CreateAsyncByInput": { + "uniqueName": "CreateAsyncByInput", + "name": "CreateAsync", + "httpMethod": "POST", + "url": "api/identity/users", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Identity.IdentityUserCreateDto, Volo.Abp.Identity.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "typeAsString": "Volo.Abp.Identity.IdentityUserCreateDto, Volo.Abp.Identity.Application.Contracts", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Identity.IdentityUserDto, Volo.Abp.Identity.Application.Contracts" + } }, - { - "name": "input", - "typeAsString": "Volo.Abp.Identity.IdentityRoleUpdateDto, Volo.Abp.Identity.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" + "UpdateAsyncByIdAndInput": { + "uniqueName": "UpdateAsyncByIdAndInput", + "name": "UpdateAsync", + "httpMethod": "PUT", + "url": "api/identity/users/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + }, + { + "name": "input", + "typeAsString": "Volo.Abp.Identity.IdentityUserUpdateDto, Volo.Abp.Identity.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + }, + { + "nameOnMethod": "input", + "name": "input", + "typeAsString": "Volo.Abp.Identity.IdentityUserUpdateDto, Volo.Abp.Identity.Application.Contracts", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Identity.IdentityUserDto, Volo.Abp.Identity.Application.Contracts" + } }, - { - "nameOnMethod": "input", - "name": "input", - "typeAsString": "Volo.Abp.Identity.IdentityRoleUpdateDto, Volo.Abp.Identity.Application.Contracts", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Identity.IdentityRoleDto, Volo.Abp.Identity.Application.Contracts" - } - }, - "DeleteAsyncById": { - "uniqueName": "DeleteAsyncById", - "name": "DeleteAsync", - "httpMethod": "DELETE", - "url": "api/identity/roles/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - } - ], - "returnValue": { - "typeAsString": "System.Void, System.Private.CoreLib" - } - } - } - }, - "Volo.Abp.Identity.IdentityUserController": { - "controllerName": "IdentityUser", - "typeAsString": "Volo.Abp.Identity.IdentityUserController, Volo.Abp.Identity.HttpApi", - "interfaces": [ - { - "typeAsString": "Volo.Abp.Identity.IIdentityUserAppService, Volo.Abp.Identity.Application.Contracts" - } - ], - "actions": { - "GetAsyncById": { - "uniqueName": "GetAsyncById", - "name": "GetAsync", - "httpMethod": "GET", - "url": "api/identity/users/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Identity.IdentityUserDto, Volo.Abp.Identity.Application.Contracts" - } - }, - "GetListAsyncByInput": { - "uniqueName": "GetListAsyncByInput", - "name": "GetListAsync", - "httpMethod": "GET", - "url": "api/identity/users", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "input", - "typeAsString": "Volo.Abp.Identity.GetIdentityUsersInput, Volo.Abp.Identity.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "input", - "name": "Filter", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "DeleteAsyncById": { + "uniqueName": "DeleteAsyncById", + "name": "DeleteAsync", + "httpMethod": "DELETE", + "url": "api/identity/users/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "System.Void, System.Private.CoreLib" + } }, - { - "nameOnMethod": "input", - "name": "Sorting", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "GetRolesAsyncById": { + "uniqueName": "GetRolesAsyncById", + "name": "GetRolesAsync", + "httpMethod": "GET", + "url": "api/identity/users/{id}/roles", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Application.Dtos.ListResultDto`1[[Volo.Abp.Identity.IdentityRoleDto, Volo.Abp.Identity.Application.Contracts, Version=1.0.2.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts" + } }, - { - "nameOnMethod": "input", - "name": "SkipCount", - "typeAsString": "System.Int32, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "UpdateRolesAsyncByIdAndInput": { + "uniqueName": "UpdateRolesAsyncByIdAndInput", + "name": "UpdateRolesAsync", + "httpMethod": "PUT", + "url": "api/identity/users/{id}/roles", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + }, + { + "name": "input", + "typeAsString": "Volo.Abp.Identity.IdentityUserUpdateRolesDto, Volo.Abp.Identity.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + }, + { + "nameOnMethod": "input", + "name": "input", + "typeAsString": "Volo.Abp.Identity.IdentityUserUpdateRolesDto, Volo.Abp.Identity.Application.Contracts", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "System.Void, System.Private.CoreLib" + } }, - { - "nameOnMethod": "input", - "name": "MaxResultCount", - "typeAsString": "System.Int32, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Application.Dtos.PagedResultDto`1[[Volo.Abp.Identity.IdentityUserDto, Volo.Abp.Identity.Application.Contracts, Version=1.0.2.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts" - } - }, - "CreateAsyncByInput": { - "uniqueName": "CreateAsyncByInput", - "name": "CreateAsync", - "httpMethod": "POST", - "url": "api/identity/users", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "input", - "typeAsString": "Volo.Abp.Identity.IdentityUserCreateDto, Volo.Abp.Identity.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "input", - "name": "input", - "typeAsString": "Volo.Abp.Identity.IdentityUserCreateDto, Volo.Abp.Identity.Application.Contracts", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Identity.IdentityUserDto, Volo.Abp.Identity.Application.Contracts" - } - }, - "UpdateAsyncByIdAndInput": { - "uniqueName": "UpdateAsyncByIdAndInput", - "name": "UpdateAsync", - "httpMethod": "PUT", - "url": "api/identity/users/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null + "FindByUsernameAsyncByUsername": { + "uniqueName": "FindByUsernameAsyncByUsername", + "name": "FindByUsernameAsync", + "httpMethod": "GET", + "url": "api/identity/users/by-username/{userName}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "username", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "username", + "name": "username", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Identity.IdentityUserDto, Volo.Abp.Identity.Application.Contracts" + } }, - { - "name": "input", - "typeAsString": "Volo.Abp.Identity.IdentityUserUpdateDto, Volo.Abp.Identity.Application.Contracts", - "isOptional": false, - "defaultValue": null + "FindByEmailAsyncByEmail": { + "uniqueName": "FindByEmailAsyncByEmail", + "name": "FindByEmailAsync", + "httpMethod": "GET", + "url": "api/identity/users/by-email/{email}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "email", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "email", + "name": "email", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Identity.IdentityUserDto, Volo.Abp.Identity.Application.Contracts" + } } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - }, - { - "nameOnMethod": "input", - "name": "input", - "typeAsString": "Volo.Abp.Identity.IdentityUserUpdateDto, Volo.Abp.Identity.Application.Contracts", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Identity.IdentityUserDto, Volo.Abp.Identity.Application.Contracts" } }, - "DeleteAsyncById": { - "uniqueName": "DeleteAsyncById", - "name": "DeleteAsync", - "httpMethod": "DELETE", - "url": "api/identity/users/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - } - ], - "returnValue": { - "typeAsString": "System.Void, System.Private.CoreLib" - } - }, - "GetRolesAsyncById": { - "uniqueName": "GetRolesAsyncById", - "name": "GetRolesAsync", - "httpMethod": "GET", - "url": "api/identity/users/{id}/roles", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" + "Volo.Abp.Identity.IdentityUserLookupController": { + "controllerName": "IdentityUserLookup", + "typeAsString": "Volo.Abp.Identity.IdentityUserLookupController, Volo.Abp.Identity.HttpApi", + "interfaces": [ + { + "typeAsString": "Volo.Abp.Identity.IIdentityUserLookupAppService, Volo.Abp.Identity.Application.Contracts" + } + ], + "actions": { + "FindByIdAsyncById": { + "uniqueName": "FindByIdAsyncById", + "name": "FindByIdAsync", + "httpMethod": "GET", + "url": "api/identity/users/lookup/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Users.UserData, Volo.Abp.Users.Abstractions" + } + }, + "FindByUserNameAsyncByUserName": { + "uniqueName": "FindByUserNameAsyncByUserName", + "name": "FindByUserNameAsync", + "httpMethod": "GET", + "url": "api/identity/users/lookup/by-username/{userName}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "userName", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "userName", + "name": "userName", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Users.UserData, Volo.Abp.Users.Abstractions" + } } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Application.Dtos.ListResultDto`1[[Volo.Abp.Identity.IdentityRoleDto, Volo.Abp.Identity.Application.Contracts, Version=1.0.2.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts" } }, - "UpdateRolesAsyncByIdAndInput": { - "uniqueName": "UpdateRolesAsyncByIdAndInput", - "name": "UpdateRolesAsync", - "httpMethod": "PUT", - "url": "api/identity/users/{id}/roles", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null + "Volo.Abp.Identity.ProfileController": { + "controllerName": "Profile", + "typeAsString": "Volo.Abp.Identity.ProfileController, Volo.Abp.Identity.HttpApi", + "interfaces": [ + { + "typeAsString": "Volo.Abp.Identity.IProfileAppService, Volo.Abp.Identity.Application.Contracts" + } + ], + "actions": { + "GetAsync": { + "uniqueName": "GetAsync", + "name": "GetAsync", + "httpMethod": "GET", + "url": "api/identity/my-profile", + "supportedVersions": [], + "parametersOnMethod": [], + "parameters": [], + "returnValue": { + "typeAsString": "Volo.Abp.Identity.ProfileDto, Volo.Abp.Identity.Application.Contracts" + } }, - { - "name": "input", - "typeAsString": "Volo.Abp.Identity.IdentityUserUpdateRolesDto, Volo.Abp.Identity.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" + "UpdateAsyncByInput": { + "uniqueName": "UpdateAsyncByInput", + "name": "UpdateAsync", + "httpMethod": "PUT", + "url": "api/identity/my-profile", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Identity.UpdateProfileDto, Volo.Abp.Identity.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "typeAsString": "Volo.Abp.Identity.UpdateProfileDto, Volo.Abp.Identity.Application.Contracts", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "Volo.Abp.Identity.ProfileDto, Volo.Abp.Identity.Application.Contracts" + } }, - { - "nameOnMethod": "input", - "name": "input", - "typeAsString": "Volo.Abp.Identity.IdentityUserUpdateRolesDto, Volo.Abp.Identity.Application.Contracts", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" + "ChangePasswordAsyncByInput": { + "uniqueName": "ChangePasswordAsyncByInput", + "name": "ChangePasswordAsync", + "httpMethod": "POST", + "url": "api/identity/my-profile/change-password", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Identity.ChangePasswordInput, Volo.Abp.Identity.Application.Contracts", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "typeAsString": "Volo.Abp.Identity.ChangePasswordInput, Volo.Abp.Identity.Application.Contracts", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body" + } + ], + "returnValue": { + "typeAsString": "System.Void, System.Private.CoreLib" + } } - ], - "returnValue": { - "typeAsString": "System.Void, System.Private.CoreLib" - } - }, - "FindByUsernameAsyncByUsername": { - "uniqueName": "FindByUsernameAsyncByUsername", - "name": "FindByUsernameAsync", - "httpMethod": "GET", - "url": "api/identity/users/by-username/{userName}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "username", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "username", - "name": "username", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Identity.IdentityUserDto, Volo.Abp.Identity.Application.Contracts" - } - }, - "FindByEmailAsyncByEmail": { - "uniqueName": "FindByEmailAsyncByEmail", - "name": "FindByEmailAsync", - "httpMethod": "GET", - "url": "api/identity/users/by-email/{email}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "email", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "email", - "name": "email", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Identity.IdentityUserDto, Volo.Abp.Identity.Application.Contracts" } } } }, - "Volo.Abp.Identity.IdentityUserLookupController": { - "controllerName": "IdentityUserLookup", - "typeAsString": "Volo.Abp.Identity.IdentityUserLookupController, Volo.Abp.Identity.HttpApi", - "interfaces": [ - { - "typeAsString": "Volo.Abp.Identity.IIdentityUserLookupAppService, Volo.Abp.Identity.Application.Contracts" - } - ], - "actions": { - "FindByIdAsyncById": { - "uniqueName": "FindByIdAsyncById", - "name": "FindByIdAsync", - "httpMethod": "GET", - "url": "api/identity/users/lookup/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null + "Abp": { + "rootPath": "Abp", + "controllers": { + "Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController": { + "controllerName": "AbpServiceProxyScript", + "typeAsString": "Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController, Volo.Abp.AspNetCore.Mvc", + "interfaces": [], + "actions": { + "GetAllByModel": { + "uniqueName": "GetAllByModel", + "name": "GetAll", + "httpMethod": "GET", + "url": "Abp/ServiceProxyScript", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "model", + "typeAsString": "Volo.Abp.AspNetCore.Mvc.ProxyScripting.ServiceProxyGenerationModel, Volo.Abp.AspNetCore.Mvc", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "model", + "name": "Type", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "model", + "name": "UseCache", + "typeAsString": "System.Boolean, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "model", + "name": "Modules", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "model", + "name": "Controllers", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "model", + "name": "Actions", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + } + ], + "returnValue": { + "typeAsString": "System.String, System.Private.CoreLib" + } } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Users.UserData, Volo.Abp.Users.Abstractions" } }, - "FindByUserNameAsyncByUserName": { - "uniqueName": "FindByUserNameAsyncByUserName", - "name": "FindByUserNameAsync", - "httpMethod": "GET", - "url": "api/identity/users/lookup/by-username/{userName}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "userName", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null + "Volo.Abp.AspNetCore.Mvc.Localization.AbpLanguagesController": { + "controllerName": "AbpLanguages", + "typeAsString": "Volo.Abp.AspNetCore.Mvc.Localization.AbpLanguagesController, Volo.Abp.AspNetCore.Mvc", + "interfaces": [], + "actions": { + "SwitchByCultureAndUiCultureAndReturnUrl": { + "uniqueName": "SwitchByCultureAndUiCultureAndReturnUrl", + "name": "Switch", + "httpMethod": "GET", + "url": "Abp/Languages/Switch", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "culture", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null + }, + { + "name": "uiCulture", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": true, + "defaultValue": "" + }, + { + "name": "returnUrl", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": true, + "defaultValue": "" + } + ], + "parameters": [ + { + "nameOnMethod": "culture", + "name": "culture", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "uiCulture", + "name": "uiCulture", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + }, + { + "nameOnMethod": "returnUrl", + "name": "returnUrl", + "typeAsString": "System.String, System.Private.CoreLib", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding" + } + ], + "returnValue": { + "typeAsString": "Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Abstractions" + } } - ], - "parameters": [ - { - "nameOnMethod": "userName", - "name": "userName", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Users.UserData, Volo.Abp.Users.Abstractions" - } - } - } - }, - "Volo.Abp.Identity.ProfileController": { - "controllerName": "Profile", - "typeAsString": "Volo.Abp.Identity.ProfileController, Volo.Abp.Identity.HttpApi", - "interfaces": [ - { - "typeAsString": "Volo.Abp.Identity.IProfileAppService, Volo.Abp.Identity.Application.Contracts" - } - ], - "actions": { - "GetAsync": { - "uniqueName": "GetAsync", - "name": "GetAsync", - "httpMethod": "GET", - "url": "api/identity/my-profile", - "supportedVersions": [], - "parametersOnMethod": [], - "parameters": [], - "returnValue": { - "typeAsString": "Volo.Abp.Identity.ProfileDto, Volo.Abp.Identity.Application.Contracts" - } - }, - "UpdateAsyncByInput": { - "uniqueName": "UpdateAsyncByInput", - "name": "UpdateAsync", - "httpMethod": "PUT", - "url": "api/identity/my-profile", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "input", - "typeAsString": "Volo.Abp.Identity.UpdateProfileDto, Volo.Abp.Identity.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "input", - "name": "input", - "typeAsString": "Volo.Abp.Identity.UpdateProfileDto, Volo.Abp.Identity.Application.Contracts", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" - } - ], - "returnValue": { - "typeAsString": "Volo.Abp.Identity.ProfileDto, Volo.Abp.Identity.Application.Contracts" } }, - "ChangePasswordAsyncByInput": { - "uniqueName": "ChangePasswordAsyncByInput", - "name": "ChangePasswordAsync", - "httpMethod": "POST", - "url": "api/identity/my-profile/change-password", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "input", - "typeAsString": "Volo.Abp.Identity.ChangePasswordInput, Volo.Abp.Identity.Application.Contracts", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "input", - "name": "input", - "typeAsString": "Volo.Abp.Identity.ChangePasswordInput, Volo.Abp.Identity.Application.Contracts", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body" - } - ], - "returnValue": { - "typeAsString": "System.Void, System.Private.CoreLib" - } - } - } - } - } - }, - "Abp": { - "rootPath": "Abp", - "controllers": { - "Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController": { - "controllerName": "AbpServiceProxyScript", - "typeAsString": "Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController, Volo.Abp.AspNetCore.Mvc", - "interfaces": [], - "actions": { - "GetAllByModel": { - "uniqueName": "GetAllByModel", - "name": "GetAll", - "httpMethod": "GET", - "url": "Abp/ServiceProxyScript", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "model", - "typeAsString": "Volo.Abp.AspNetCore.Mvc.ProxyScripting.ServiceProxyGenerationModel, Volo.Abp.AspNetCore.Mvc", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "model", - "name": "Type", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - }, - { - "nameOnMethod": "model", - "name": "UseCache", - "typeAsString": "System.Boolean, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - }, - { - "nameOnMethod": "model", - "name": "Modules", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - }, - { - "nameOnMethod": "model", - "name": "Controllers", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - }, - { - "nameOnMethod": "model", - "name": "Actions", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - } - ], - "returnValue": { - "typeAsString": "System.String, System.Private.CoreLib" - } - } - } - }, - "Volo.Abp.AspNetCore.Mvc.Localization.AbpLanguagesController": { - "controllerName": "AbpLanguages", - "typeAsString": "Volo.Abp.AspNetCore.Mvc.Localization.AbpLanguagesController, Volo.Abp.AspNetCore.Mvc", - "interfaces": [], - "actions": { - "SwitchByCultureAndUiCultureAndReturnUrl": { - "uniqueName": "SwitchByCultureAndUiCultureAndReturnUrl", - "name": "Switch", - "httpMethod": "GET", - "url": "Abp/Languages/Switch", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "culture", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null - }, - { - "name": "uiCulture", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": true, - "defaultValue": "" - }, - { - "name": "returnUrl", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": true, - "defaultValue": "" - } - ], - "parameters": [ - { - "nameOnMethod": "culture", - "name": "culture", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - }, - { - "nameOnMethod": "uiCulture", - "name": "uiCulture", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" - }, - { - "nameOnMethod": "returnUrl", - "name": "returnUrl", - "typeAsString": "System.String, System.Private.CoreLib", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding" + "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController": { + "controllerName": "AbpApplicationConfigurationScript", + "typeAsString": "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController, Volo.Abp.AspNetCore.Mvc", + "interfaces": [], + "actions": { + "Get": { + "uniqueName": "Get", + "name": "Get", + "httpMethod": "GET", + "url": "Abp/ApplicationConfigurationScript", + "supportedVersions": [], + "parametersOnMethod": [], + "parameters": [], + "returnValue": { + "typeAsString": "System.String, System.Private.CoreLib" + } } - ], - "returnValue": { - "typeAsString": "Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Abstractions" - } - } - } - }, - "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController": { - "controllerName": "AbpApplicationConfigurationScript", - "typeAsString": "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController, Volo.Abp.AspNetCore.Mvc", - "interfaces": [], - "actions": { - "Get": { - "uniqueName": "Get", - "name": "Get", - "httpMethod": "GET", - "url": "Abp/ApplicationConfigurationScript", - "supportedVersions": [], - "parametersOnMethod": [], - "parameters": [], - "returnValue": { - "typeAsString": "System.String, System.Private.CoreLib" } } } } } - } - } + }); + }, 1000); }); }; diff --git a/npm/packs/client-generator/lib/utils/prompt.d.ts b/npm/packs/client-generator/lib/utils/prompt.d.ts new file mode 100644 index 0000000000..a468da865d --- /dev/null +++ b/npm/packs/client-generator/lib/utils/prompt.d.ts @@ -0,0 +1 @@ +export declare const selectingModule: (modules: string[]) => Promise; diff --git a/npm/packs/client-generator/lib/utils/prompt.js b/npm/packs/client-generator/lib/utils/prompt.js new file mode 100644 index 0000000000..ec59273864 --- /dev/null +++ b/npm/packs/client-generator/lib/utils/prompt.js @@ -0,0 +1,52 @@ +"use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var inquirer_1 = __importDefault(require("inquirer")); +exports.selectingModule = function (modules) { return __awaiter(void 0, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, inquirer_1.default.prompt(modules)]; + case 1: + _a.sent(); + return [2 /*return*/]; + } + }); +}); }; diff --git a/npm/packs/client-generator/package.json b/npm/packs/client-generator/package.json index 4958ffb951..7926bc7403 100644 --- a/npm/packs/client-generator/package.json +++ b/npm/packs/client-generator/package.json @@ -28,6 +28,7 @@ }, "devDependencies": { "@types/node": "^12.12.8", + "@types/inquirer": "^6.5.0", "nodemon": "^1.19.4", "ts-node": "^8.5.2", "typescript": "^3.7.2" diff --git a/npm/packs/client-generator/src/cli.ts b/npm/packs/client-generator/src/cli.ts new file mode 100644 index 0000000000..ce4fbcab07 --- /dev/null +++ b/npm/packs/client-generator/src/cli.ts @@ -0,0 +1,16 @@ +import { uiSelection, moduleSelection } from './utils/prompt'; +import { axiosInstance } from './utils/axios'; +import ora = require('ora'); + +export const cli = async (program: any) => { + if (program.ui !== 'angular') { + program.ui = ((await uiSelection(['Angular'])) as string).toLowerCase(); + } + + const loading = ora('Waiting for the API response... \n'); + loading.start(); + const data = (await axiosInstance.get('a')) as any; + loading.stop(); + const modules = await moduleSelection(Object.keys(data.modules)); + console.log(modules); +}; diff --git a/npm/packs/client-generator/src/index.ts b/npm/packs/client-generator/src/index.ts index e98db92601..93bf54c757 100644 --- a/npm/packs/client-generator/src/index.ts +++ b/npm/packs/client-generator/src/index.ts @@ -1,8 +1,10 @@ #!/usr/bin/env node import chalk from 'chalk'; -import commander from 'commander'; +import program from 'commander'; import ora from 'ora'; import { axiosInstance } from './utils/axios'; +import { moduleSelection, uiSelection } from './utils/prompt'; +import { cli } from './cli'; const clear = require('clear'); const figlet = require('figlet'); @@ -10,20 +12,17 @@ clear(); console.log(chalk.red(figlet.textSync('ABP', { horizontalLayout: 'full' }))); -commander +program .version('0.0.1') .description('ABP Client Generator') - .option('-u, --ui', 'UI option (Angular)') + .option('-u, --ui ', 'UI option (Angular)') .parse(process.argv); -if (!process.argv.slice(2).length) { - commander.outputHelp(); +if (!process.argv.slice(2).length || !program.ui || typeof program.ui !== 'string') { + program.outputHelp(); process.exit(1); } -const loading = ora('Waiting for API response... \n'); -loading.start(); -(async function() { - const data = await axiosInstance.get('a'); - loading.stop(); -})(); +program.ui = program.ui.toLowerCase(); + +cli(program); diff --git a/npm/packs/client-generator/src/utils/prompt.ts b/npm/packs/client-generator/src/utils/prompt.ts index e69de29bb2..e5ee10d312 100644 --- a/npm/packs/client-generator/src/utils/prompt.ts +++ b/npm/packs/client-generator/src/utils/prompt.ts @@ -0,0 +1,13 @@ +import inquirer from 'inquirer'; + +export const uiSelection = async (uiArray: string[]) => { + return inquirer + .prompt({ type: 'list', name: 'Please select an UI', choices: uiArray }) + .then(res => res['Please select an UI']); +}; + +export const moduleSelection = async (modules: string[]) => { + return inquirer + .prompt({ type: 'checkbox', name: 'Please select module(s)', choices: modules }) + .then(res => res['Please select module(s)']); +}; diff --git a/npm/packs/client-generator/yarn.lock b/npm/packs/client-generator/yarn.lock index d01d739b19..55f6778c1a 100644 --- a/npm/packs/client-generator/yarn.lock +++ b/npm/packs/client-generator/yarn.lock @@ -6,10 +6,23 @@ version "1.1.1" resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" -"@types/node@^12.12.8": +"@types/inquirer@^6.5.0": + version "6.5.0" + resolved "https://registry.yarnpkg.com/@types/inquirer/-/inquirer-6.5.0.tgz#b83b0bf30b88b8be7246d40e51d32fe9d10e09be" + dependencies: + "@types/through" "*" + rxjs "^6.4.0" + +"@types/node@*", "@types/node@^12.12.8": version "12.12.8" resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.8.tgz#dab418655af39ce2fa99286a0bed21ef8072ac9d" +"@types/through@*": + version "0.0.29" + resolved "https://registry.yarnpkg.com/@types/through/-/through-0.0.29.tgz#72943aac922e179339c651fa34a4428a4d722f93" + dependencies: + "@types/node" "*" + abbrev@1: version "1.1.1" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"