@se-uulm/snowballr-api-client 0.2.1-alpha.cd9417a → 0.2.1-alpha.cf8bc3c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @se-uulm/snowballr-api-client@0.2.1-alpha.cd9417a
1
+ ## @se-uulm/snowballr-api-client@0.2.1-alpha.cf8bc3c
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @se-uulm/snowballr-api-client@0.2.1-alpha.cd9417a --save
39
+ npm install @se-uulm/snowballr-api-client@0.2.1-alpha.cf8bc3c --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -39,7 +39,7 @@ class ProjectsControllerApi extends runtime.BaseAPI {
39
39
  const queryParameters = {};
40
40
  const headerParameters = {};
41
41
  headerParameters['Content-Type'] = 'application/json';
42
- let urlPath = `/api/v1/projects`;
42
+ let urlPath = `/projects`;
43
43
  const response = yield this.request({
44
44
  path: urlPath,
45
45
  method: 'POST',
@@ -67,7 +67,7 @@ class ProjectsControllerApi extends runtime.BaseAPI {
67
67
  }
68
68
  const queryParameters = {};
69
69
  const headerParameters = {};
70
- let urlPath = `/api/v1/projects/{id}`;
70
+ let urlPath = `/projects/{id}`;
71
71
  urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
72
72
  const response = yield this.request({
73
73
  path: urlPath,
@@ -91,7 +91,7 @@ class ProjectsControllerApi extends runtime.BaseAPI {
91
91
  return __awaiter(this, void 0, void 0, function* () {
92
92
  const queryParameters = {};
93
93
  const headerParameters = {};
94
- let urlPath = `/api/v1/projects`;
94
+ let urlPath = `/projects`;
95
95
  const response = yield this.request({
96
96
  path: urlPath,
97
97
  method: 'GET',
@@ -118,7 +118,7 @@ class ProjectsControllerApi extends runtime.BaseAPI {
118
118
  }
119
119
  const queryParameters = {};
120
120
  const headerParameters = {};
121
- let urlPath = `/api/v1/projects/{id}`;
121
+ let urlPath = `/projects/{id}`;
122
122
  urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
123
123
  const response = yield this.request({
124
124
  path: urlPath,
@@ -36,7 +36,7 @@ export class ProjectsControllerApi extends runtime.BaseAPI {
36
36
  const queryParameters = {};
37
37
  const headerParameters = {};
38
38
  headerParameters['Content-Type'] = 'application/json';
39
- let urlPath = `/api/v1/projects`;
39
+ let urlPath = `/projects`;
40
40
  const response = yield this.request({
41
41
  path: urlPath,
42
42
  method: 'POST',
@@ -64,7 +64,7 @@ export class ProjectsControllerApi extends runtime.BaseAPI {
64
64
  }
65
65
  const queryParameters = {};
66
66
  const headerParameters = {};
67
- let urlPath = `/api/v1/projects/{id}`;
67
+ let urlPath = `/projects/{id}`;
68
68
  urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
69
69
  const response = yield this.request({
70
70
  path: urlPath,
@@ -88,7 +88,7 @@ export class ProjectsControllerApi extends runtime.BaseAPI {
88
88
  return __awaiter(this, void 0, void 0, function* () {
89
89
  const queryParameters = {};
90
90
  const headerParameters = {};
91
- let urlPath = `/api/v1/projects`;
91
+ let urlPath = `/projects`;
92
92
  const response = yield this.request({
93
93
  path: urlPath,
94
94
  method: 'GET',
@@ -115,7 +115,7 @@ export class ProjectsControllerApi extends runtime.BaseAPI {
115
115
  }
116
116
  const queryParameters = {};
117
117
  const headerParameters = {};
118
- let urlPath = `/api/v1/projects/{id}`;
118
+ let urlPath = `/projects/{id}`;
119
119
  urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
120
120
  const response = yield this.request({
121
121
  path: urlPath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@se-uulm/snowballr-api-client",
3
- "version": "0.2.1-alpha.cd9417a",
3
+ "version": "0.2.1-alpha.cf8bc3c",
4
4
  "description": "API client for the SnowballR Web Application",
5
5
  "author": "SnowballR",
6
6
  "repository": {