{"_id":"@anatolyua/jbaccess-client-open-api","_rev":"1-f554fb88dd2fe12d27ee897ecaf6bd5e","name":"@anatolyua/jbaccess-client-open-api","dist-tags":{"latest":"1.0.0-SNAPSHOT.201809070509"},"versions":{"1.0.0-SNAPSHOT.201809070509":{"name":"@anatolyua/jbaccess-client-open-api","version":"1.0.0-SNAPSHOT.201809070509","description":"OpenAPI client for @swagger/jbaccess-client-open-api","author":{"name":"OpenAPI-Generator Contributors"},"keywords":["openapi-client","openapi-generator"],"license":"Unlicense","peerDependencies":{"@angular/core":"^6.0.2","@angular/http":"^6.0.2","@angular/common":"^6.0.2","@angular/compiler":"^6.0.2","core-js":"^2.4.0","reflect-metadata":"^0.1.3","rxjs":"^6.1.0","zone.js":"^0.7.6"},"devDependencies":{"@angular/compiler-cli":"^6.0.2","@angular/core":"^6.0.2","@angular/http":"^6.0.2","@angular/common":"^6.0.2","@angular/compiler":"^6.0.2","@angular/platform-browser":"^6.0.2","ng-packagr":"^2.4.1","reflect-metadata":"^0.1.3","rxjs":"^6.1.0","zone.js":"^0.7.6","typescript":">=2.1.5 <2.8"},"main":"bundles/anatolyua-jbaccess-client-open-api.umd.js","module":"esm5/anatolyua-jbaccess-client-open-api.js","es2015":"esm2015/anatolyua-jbaccess-client-open-api.js","typings":"anatolyua-jbaccess-client-open-api.d.ts","metadata":"anatolyua-jbaccess-client-open-api.metadata.json","dependencies":{"tslib":"^1.9.0"},"_id":"@anatolyua/jbaccess-client-open-api@1.0.0-SNAPSHOT.201809070509","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"anatolyua","email":"foru.paper@gmail.com"},"dist":{"integrity":"sha512-DLSOp4TgC4SXJDSOMy1ZiWcXgvn8Cq3dH8/LVfcv4JCmettnMbW1zRjcI+BsGXW7pg+Sx6tzcnfJcZzTCTZsow==","shasum":"c2b02126db23cb3b92f5cfbb8f4897f27dfac937","tarball":"https://registry.npmjs.org/@anatolyua/jbaccess-client-open-api/-/jbaccess-client-open-api-1.0.0-SNAPSHOT.201809070509.tgz","fileCount":81,"unpackedSize":1551144,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbk5LhCRA9TVsSAnZWagAAAJEP/RORDBjz7OcbVmd1IcYb\nLrNbc/Q4e5a6MaUhFTSxefPAl8OtDMg/WNRL8Kz+l3RqxLuktS/8KKX1X0P0\nJBVxxoYu/mMtnY9+8UR3urFS2jm6gFgGUSKcJB+BMDg3TYCisspET38qI36m\ngvVZMtkg8sW3Q6waa+MOiNTQC8FLsEx09oozRaGkKKo2tY/kizDNXUoL2UQj\nvfZG98o0E1kkYWleCzLRP1uK/7xmp8AxWCrb8MTVgpsCTnQL/hLJcB5MNI7B\nphle5zq988kd4HdYuu1cHPkuO4l+CX878LcNoAfo8rSJgFGN11GjbjfeTpFO\n22XRW9JPEn2SbhZNkqBnjY+yXkS7DndIB66FUDf07OufkQUW3Z79rDtGNTo6\nU53ddeVgOeGxffgytfj+8fMRtma0LxXNgYbAd4eLsgsNeFUrRO1tX0ohGr9b\nEaFwcwlVCWNq6Np9TAGLPOJcCqYkVaquEy+Dx1pHO0FUTYaFFNlGvwACNoYs\n/xhpSjHxVauBYS6jm810mhn9w5eGeGBK0mmUMHifIkHAxXyXjSARbWmsyFCO\n0nJRB+GHcXNgtivDDWYYLmk07orB/QkFMIvLSf3NDBZoJEemh9LWQbTzmwZG\nyxrKXHBU8TfB5lgeFFg2UONKOE2yHgzMNM95O+0opLwkIW79QRVjK+MnHEPx\n5B5U\r\n=wVaO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfn2WsgNVDeS55qpEedBBOJxF89dByipPCoA7EgL4mVQIgDJhjz/Gsvz3tpDKMTzyofDglQEXu+vPLBHHa2IZPAPg="}]},"maintainers":[{"name":"anatolyua","email":"foru.paper@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jbaccess-client-open-api_1.0.0-SNAPSHOT.201809070509_1536398048374_0.08684872989292214"},"_hasShrinkwrap":false}},"time":{"created":"2018-09-08T09:14:08.213Z","1.0.0-SNAPSHOT.201809070509":"2018-09-08T09:14:08.580Z","modified":"2022-04-04T13:55:38.738Z"},"maintainers":[{"name":"anatolyua","email":"foru.paper@gmail.com"}],"description":"OpenAPI client for @swagger/jbaccess-client-open-api","keywords":["openapi-client","openapi-generator"],"author":{"name":"OpenAPI-Generator Contributors"},"license":"Unlicense","readme":"## @swagger/jbaccess-client-open-api@1.0.0-SNAPSHOT.201809070509\n\n### Building\n\nTo install the required dependencies and to build the typescript sources run:\n```\nnpm install\nnpm run build\n```\n\n### publishing\n\nFirst build the package then run ```npm publish dist``` (don't forget to specify the `dist` folder!)\n\n### consuming\n\nNavigate to the folder of your consuming project and run one of next commands.\n\n_published:_\n\n```\nnpm install @swagger/jbaccess-client-open-api@1.0.0-SNAPSHOT.201809070509 --save\n```\n\n_without publishing (not recommended):_\n\n```\nnpm install PATH_TO_GENERATED_PACKAGE/dist --save\n```\n\n_using `npm link`:_\n\nIn PATH_TO_GENERATED_PACKAGE/dist:\n```\nnpm link\n```\n\nIn your project:\n```\nnpm link @swagger/jbaccess-client-open-api\n```\n\n__Note for Windows users:__ The Angular CLI has troubles to use linked npm packages.\nPlease refer to this issue https://github.com/angular/angular-cli/issues/8284 for a solution / workaround.\nPublished packages are not effected by this issue.\n\n\n#### General usage\n\nIn your Angular project:\n\n\n```\n// without configuring providers\nimport { ApiModule } from '@swagger/jbaccess-client-open-api';\nimport { HttpClientModule } from '@angular/common/http';\n\n\n@NgModule({\n    imports: [\n        ApiModule,\n        // make sure to import the HttpClientModule in the AppModule only,\n        // see https://github.com/angular/angular/issues/20575\n        HttpClientModule\n    ],\n    declarations: [ AppComponent ],\n    providers: [],\n    bootstrap: [ AppComponent ]\n})\nexport class AppModule {}\n```\n\n```\n// configuring providers\nimport { ApiModule, Configuration, ConfigurationParameters } from '@swagger/jbaccess-client-open-api';\n\nexport function apiConfigFactory (): Configuration => {\n  const params: ConfigurationParameters = {\n    // set configuration parameters here.\n  }\n  return new Configuration(params);\n}\n\n@NgModule({\n    imports: [ ApiModule.forRoot(apiConfigFactory) ],\n    declarations: [ AppComponent ],\n    providers: [],\n    bootstrap: [ AppComponent ]\n})\nexport class AppModule {}\n```\n\n```\nimport { DefaultApi } from '@swagger/jbaccess-client-open-api';\n\nexport class AppComponent {\n\t constructor(private apiGateway: DefaultApi) { }\n}\n```\n\nNote: The ApiModule is restricted to being instantiated once app wide.\nThis is to ensure that all services are treated as singletons.\n\n#### Using multiple OpenAPI files / APIs / ApiModules\nIn order to use multiple `ApiModules` generated from different OpenAPI files,\nyou can create an alias name when importing the modules\nin order to avoid naming conflicts:\n```\nimport { ApiModule } from 'my-api-path';\nimport { ApiModule as OtherApiModule } from 'my-other-api-path';\nimport { HttpClientModule } from '@angular/common/http';\n\n\n@NgModule({\n  imports: [\n    ApiModule,\n    OtherApiModule,\n    // make sure to import the HttpClientModule in the AppModule only,\n    // see https://github.com/angular/angular/issues/20575\n    HttpClientModule\n  ]\n})\nexport class AppModule {\n\n}\n```\n\n\n### Set service base path\nIf different than the generated base path, during app bootstrap, you can provide the base path to your service. \n\n```\nimport { BASE_PATH } from '@swagger/jbaccess-client-open-api';\n\nbootstrap(AppComponent, [\n    { provide: BASE_PATH, useValue: 'https://your-web-service.com' },\n]);\n```\nor\n\n```\nimport { BASE_PATH } from '@swagger/jbaccess-client-open-api';\n\n@NgModule({\n    imports: [],\n    declarations: [ AppComponent ],\n    providers: [ provide: BASE_PATH, useValue: 'https://your-web-service.com' ],\n    bootstrap: [ AppComponent ]\n})\nexport class AppModule {}\n```\n\n\n#### Using @angular/cli\nFirst extend your `src/environments/*.ts` files by adding the corresponding base path:\n\n```\nexport const environment = {\n  production: false,\n  API_BASE_PATH: 'http://127.0.0.1:8080'\n};\n```\n\nIn the src/app/app.module.ts:\n```\nimport { BASE_PATH } from '@swagger/jbaccess-client-open-api';\nimport { environment } from '../environments/environment';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [ ],\n  providers: [{ provide: BASE_PATH, useValue: environment.API_BASE_PATH }],\n  bootstrap: [ AppComponent ]\n})\nexport class AppModule { }\n```  \n","readmeFilename":"README.md"}