Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit b4c7616

Browse files
committed
PATCH: fix full-topic swagger
1 parent 2fb55e1 commit b4c7616

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

docs/SingleJsonTopic.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**guid** | **String** | | [optional]
77
**creationDate** | **Date** | | [optional]
8-
**creationAuthor** | [**BcfUser**](BcfUser.md) | | [optional]
8+
**creationAuthor** | **String** | | [optional]
99
**modifiedDate** | **Date** | | [optional]
10-
**modifiedAuthor** | [**BcfUser**](BcfUser.md) | | [optional]
10+
**modifiedAuthor** | **String** | | [optional]
1111
**title** | **String** | |
1212
**description** | **String** | | [optional]
1313
**referenceLinks** | **[String]** | | [optional]
1414
**ifcs** | **[Number]** | | [optional]
15-
**labels** | [**[Label]**](Label.md) | | [optional]
16-
**topicType** | [**TopicType**](TopicType.md) | | [optional]
17-
**topicStatus** | [**TopicStatus**](TopicStatus.md) | | [optional]
18-
**stage** | [**Stage**](Stage.md) | | [optional]
19-
**priority** | [**Priority**](Priority.md) | | [optional]
15+
**labels** | **[String]** | | [optional]
16+
**topicType** | **String** | | [optional]
17+
**topicStatus** | **String** | | [optional]
18+
**stage** | **String** | | [optional]
19+
**priority** | **String** | | [optional]
2020
**index** | **Number** | | [optional]
21-
**assignedTo** | [**BcfUser**](BcfUser.md) | | [optional]
21+
**assignedTo** | **String** | | [optional]
2222
**format** | **String** | | [optional]
2323
**dueDate** | **Date** | | [optional]
2424
**comments** | [**[Comment]**](Comment.md) | | [optional]

src/model/SingleJsonTopic.js

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@
1717
(function(root, factory) {
1818
if (typeof define === 'function' && define.amd) {
1919
// AMD. Register as an anonymous module.
20-
define(['ApiClient', 'model/BcfUser', 'model/Comment', 'model/Label', 'model/Priority', 'model/Stage', 'model/TopicStatus', 'model/TopicType', 'model/Viewpoint'], factory);
20+
define(['ApiClient', 'model/Comment', 'model/Viewpoint'], factory);
2121
} else if (typeof module === 'object' && module.exports) {
2222
// CommonJS-like environments that support module.exports, like Node.
23-
module.exports = factory(require('../ApiClient'), require('./BcfUser'), require('./Comment'), require('./Label'), require('./Priority'), require('./Stage'), require('./TopicStatus'), require('./TopicType'), require('./Viewpoint'));
23+
module.exports = factory(require('../ApiClient'), require('./Comment'), require('./Viewpoint'));
2424
} else {
2525
// Browser globals (root is window)
2626
if (!root.bimdata) {
2727
root.bimdata = {};
2828
}
29-
root.bimdata.SingleJsonTopic = factory(root.bimdata.ApiClient, root.bimdata.BcfUser, root.bimdata.Comment, root.bimdata.Label, root.bimdata.Priority, root.bimdata.Stage, root.bimdata.TopicStatus, root.bimdata.TopicType, root.bimdata.Viewpoint);
29+
root.bimdata.SingleJsonTopic = factory(root.bimdata.ApiClient, root.bimdata.Comment, root.bimdata.Viewpoint);
3030
}
31-
}(this, function(ApiClient, BcfUser, Comment, Label, Priority, Stage, TopicStatus, TopicType, Viewpoint) {
31+
}(this, function(ApiClient, Comment, Viewpoint) {
3232
'use strict';
3333

3434

@@ -68,13 +68,13 @@
6868
obj['creation_date'] = ApiClient.convertToType(data['creation_date'], 'Date');
6969
}
7070
if (data.hasOwnProperty('creation_author')) {
71-
obj['creation_author'] = BcfUser.constructFromObject(data['creation_author']);
71+
obj['creation_author'] = ApiClient.convertToType(data['creation_author'], 'String');
7272
}
7373
if (data.hasOwnProperty('modified_date')) {
7474
obj['modified_date'] = ApiClient.convertToType(data['modified_date'], 'Date');
7575
}
7676
if (data.hasOwnProperty('modified_author')) {
77-
obj['modified_author'] = BcfUser.constructFromObject(data['modified_author']);
77+
obj['modified_author'] = ApiClient.convertToType(data['modified_author'], 'String');
7878
}
7979
if (data.hasOwnProperty('title')) {
8080
obj['title'] = ApiClient.convertToType(data['title'], 'String');
@@ -89,25 +89,25 @@
8989
obj['ifcs'] = ApiClient.convertToType(data['ifcs'], ['Number']);
9090
}
9191
if (data.hasOwnProperty('labels')) {
92-
obj['labels'] = ApiClient.convertToType(data['labels'], [Label]);
92+
obj['labels'] = ApiClient.convertToType(data['labels'], ['String']);
9393
}
9494
if (data.hasOwnProperty('topic_type')) {
95-
obj['topic_type'] = TopicType.constructFromObject(data['topic_type']);
95+
obj['topic_type'] = ApiClient.convertToType(data['topic_type'], 'String');
9696
}
9797
if (data.hasOwnProperty('topic_status')) {
98-
obj['topic_status'] = TopicStatus.constructFromObject(data['topic_status']);
98+
obj['topic_status'] = ApiClient.convertToType(data['topic_status'], 'String');
9999
}
100100
if (data.hasOwnProperty('stage')) {
101-
obj['stage'] = Stage.constructFromObject(data['stage']);
101+
obj['stage'] = ApiClient.convertToType(data['stage'], 'String');
102102
}
103103
if (data.hasOwnProperty('priority')) {
104-
obj['priority'] = Priority.constructFromObject(data['priority']);
104+
obj['priority'] = ApiClient.convertToType(data['priority'], 'String');
105105
}
106106
if (data.hasOwnProperty('index')) {
107107
obj['index'] = ApiClient.convertToType(data['index'], 'Number');
108108
}
109109
if (data.hasOwnProperty('assigned_to')) {
110-
obj['assigned_to'] = BcfUser.constructFromObject(data['assigned_to']);
110+
obj['assigned_to'] = ApiClient.convertToType(data['assigned_to'], 'String');
111111
}
112112
if (data.hasOwnProperty('format')) {
113113
obj['format'] = ApiClient.convertToType(data['format'], 'String');
@@ -134,15 +134,15 @@
134134
*/
135135
exports.prototype['creation_date'] = undefined;
136136
/**
137-
* @member {module:model/BcfUser} creation_author
137+
* @member {String} creation_author
138138
*/
139139
exports.prototype['creation_author'] = undefined;
140140
/**
141141
* @member {Date} modified_date
142142
*/
143143
exports.prototype['modified_date'] = undefined;
144144
/**
145-
* @member {module:model/BcfUser} modified_author
145+
* @member {String} modified_author
146146
*/
147147
exports.prototype['modified_author'] = undefined;
148148
/**
@@ -162,31 +162,31 @@
162162
*/
163163
exports.prototype['ifcs'] = undefined;
164164
/**
165-
* @member {Array.<module:model/Label>} labels
165+
* @member {Array.<String>} labels
166166
*/
167167
exports.prototype['labels'] = undefined;
168168
/**
169-
* @member {module:model/TopicType} topic_type
169+
* @member {String} topic_type
170170
*/
171171
exports.prototype['topic_type'] = undefined;
172172
/**
173-
* @member {module:model/TopicStatus} topic_status
173+
* @member {String} topic_status
174174
*/
175175
exports.prototype['topic_status'] = undefined;
176176
/**
177-
* @member {module:model/Stage} stage
177+
* @member {String} stage
178178
*/
179179
exports.prototype['stage'] = undefined;
180180
/**
181-
* @member {module:model/Priority} priority
181+
* @member {String} priority
182182
*/
183183
exports.prototype['priority'] = undefined;
184184
/**
185185
* @member {Number} index
186186
*/
187187
exports.prototype['index'] = undefined;
188188
/**
189-
* @member {module:model/BcfUser} assigned_to
189+
* @member {String} assigned_to
190190
*/
191191
exports.prototype['assigned_to'] = undefined;
192192
/**

0 commit comments

Comments
 (0)