Skip to content

Commit b507cfa

Browse files
authored
Merge pull request #5 from Systems-Modeling/release/2021-03
ST5AS-125 feat: Regenerate for 2021-03
2 parents a21793c + c9e1e9d commit b507cfa

23 files changed

+466
-134
lines changed

api/openapi.yaml

Lines changed: 136 additions & 42 deletions
Large diffs are not rendered by default.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'eclipse'
33
apply plugin: 'java'
44

55
group = 'org.omg.sysml'
6-
version = '2020-09'
6+
version = '2021-03'
77

88
buildscript {
99
repositories {

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "org.omg.sysml",
44
name := "sysml-v2-api-client",
5-
version := "2020-09",
5+
version := "2021-03",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/CommitApi.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ No authorization required
7878

7979
<a name="getCommitsByProject"></a>
8080
# **getCommitsByProject**
81-
> List&lt;Commit&gt; getCommitsByProject(projectId)
81+
> List&lt;Commit&gt; getCommitsByProject(projectId, pageAfter, pageBefore, pageSize)
8282
8383
Get commits by project
8484

@@ -98,8 +98,11 @@ public class Example {
9898

9999
CommitApi apiInstance = new CommitApi(defaultClient);
100100
UUID projectId = new UUID(); // UUID | ID of the project
101+
String pageAfter = "pageAfter_example"; // String | Page after
102+
String pageBefore = "pageBefore_example"; // String | Page before
103+
Integer pageSize = 56; // Integer | Page size
101104
try {
102-
List<Commit> result = apiInstance.getCommitsByProject(projectId);
105+
List<Commit> result = apiInstance.getCommitsByProject(projectId, pageAfter, pageBefore, pageSize);
103106
System.out.println(result);
104107
} catch (ApiException e) {
105108
System.err.println("Exception when calling CommitApi#getCommitsByProject");
@@ -117,6 +120,9 @@ public class Example {
117120
Name | Type | Description | Notes
118121
------------- | ------------- | ------------- | -------------
119122
**projectId** | [**UUID**](.md)| ID of the project |
123+
**pageAfter** | **String**| Page after | [optional]
124+
**pageBefore** | **String**| Page before | [optional]
125+
**pageSize** | **Integer**| Page size | [optional]
120126

121127
### Return type
122128

docs/ElementApi.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ No authorization required
6666
### HTTP request headers
6767

6868
- **Content-Type**: Not defined
69-
- **Accept**: application/ld+json, application/json
69+
- **Accept**: application/json, application/ld+json
7070

7171
### HTTP response details
7272
| Status code | Description | Response headers |
@@ -79,7 +79,7 @@ No authorization required
7979

8080
<a name="getElementsByProjectCommit"></a>
8181
# **getElementsByProjectCommit**
82-
> List&lt;Element&gt; getElementsByProjectCommit(projectId, commitId)
82+
> List&lt;Element&gt; getElementsByProjectCommit(projectId, commitId, pageAfter, pageBefore, pageSize)
8383
8484
Get elements by project and commit
8585

@@ -100,8 +100,11 @@ public class Example {
100100
ElementApi apiInstance = new ElementApi(defaultClient);
101101
UUID projectId = new UUID(); // UUID | ID of the project
102102
UUID commitId = new UUID(); // UUID | ID of the commit
103+
String pageAfter = "pageAfter_example"; // String | Page after
104+
String pageBefore = "pageBefore_example"; // String | Page before
105+
Integer pageSize = 56; // Integer | Page size
103106
try {
104-
List<Element> result = apiInstance.getElementsByProjectCommit(projectId, commitId);
107+
List<Element> result = apiInstance.getElementsByProjectCommit(projectId, commitId, pageAfter, pageBefore, pageSize);
105108
System.out.println(result);
106109
} catch (ApiException e) {
107110
System.err.println("Exception when calling ElementApi#getElementsByProjectCommit");
@@ -120,6 +123,9 @@ Name | Type | Description | Notes
120123
------------- | ------------- | ------------- | -------------
121124
**projectId** | [**UUID**](.md)| ID of the project |
122125
**commitId** | [**UUID**](.md)| ID of the commit |
126+
**pageAfter** | **String**| Page after | [optional]
127+
**pageBefore** | **String**| Page before | [optional]
128+
**pageSize** | **Integer**| Page size | [optional]
123129

124130
### Return type
125131

@@ -132,7 +138,7 @@ No authorization required
132138
### HTTP request headers
133139

134140
- **Content-Type**: Not defined
135-
- **Accept**: application/ld+json, application/json
141+
- **Accept**: application/json, application/ld+json
136142

137143
### HTTP response details
138144
| Status code | Description | Response headers |
@@ -145,7 +151,7 @@ No authorization required
145151

146152
<a name="getRootsByProjectCommit"></a>
147153
# **getRootsByProjectCommit**
148-
> List&lt;Element&gt; getRootsByProjectCommit(projectId, commitId)
154+
> List&lt;Element&gt; getRootsByProjectCommit(projectId, commitId, pageAfter, pageBefore, pageSize)
149155
150156
Get root elements by project and commit
151157

@@ -166,8 +172,11 @@ public class Example {
166172
ElementApi apiInstance = new ElementApi(defaultClient);
167173
UUID projectId = new UUID(); // UUID | ID of the project
168174
UUID commitId = new UUID(); // UUID | ID of the commit
175+
String pageAfter = "pageAfter_example"; // String | Page after
176+
String pageBefore = "pageBefore_example"; // String | Page before
177+
Integer pageSize = 56; // Integer | Page size
169178
try {
170-
List<Element> result = apiInstance.getRootsByProjectCommit(projectId, commitId);
179+
List<Element> result = apiInstance.getRootsByProjectCommit(projectId, commitId, pageAfter, pageBefore, pageSize);
171180
System.out.println(result);
172181
} catch (ApiException e) {
173182
System.err.println("Exception when calling ElementApi#getRootsByProjectCommit");
@@ -186,6 +195,9 @@ Name | Type | Description | Notes
186195
------------- | ------------- | ------------- | -------------
187196
**projectId** | [**UUID**](.md)| ID of the project |
188197
**commitId** | [**UUID**](.md)| ID of the commit |
198+
**pageAfter** | **String**| Page after | [optional]
199+
**pageBefore** | **String**| Page before | [optional]
200+
**pageSize** | **Integer**| Page size | [optional]
189201

190202
### Return type
191203

@@ -198,7 +210,7 @@ No authorization required
198210
### HTTP request headers
199211

200212
- **Content-Type**: Not defined
201-
- **Accept**: application/ld+json, application/json
213+
- **Accept**: application/json, application/ld+json
202214

203215
### HTTP response details
204216
| Status code | Description | Response headers |

docs/Project.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**atType** | [**AtTypeEnum**](#AtTypeEnum) | | [optional]
10+
**description** | **String** | | [optional]
1011
**id** | [**UUID**](UUID.md) | | [optional]
1112
**name** | **String** | | [optional]
1213

docs/ProjectApi.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ No authorization required
7575

7676
<a name="getProjects"></a>
7777
# **getProjects**
78-
> List&lt;Project&gt; getProjects()
78+
> List&lt;Project&gt; getProjects(pageAfter, pageBefore, pageSize)
7979
8080
Get projects
8181

@@ -94,8 +94,11 @@ public class Example {
9494
defaultClient.setBasePath("http://localhost");
9595

9696
ProjectApi apiInstance = new ProjectApi(defaultClient);
97+
String pageAfter = "pageAfter_example"; // String | Page after
98+
String pageBefore = "pageBefore_example"; // String | Page before
99+
Integer pageSize = 56; // Integer | Page size
97100
try {
98-
List<Project> result = apiInstance.getProjects();
101+
List<Project> result = apiInstance.getProjects(pageAfter, pageBefore, pageSize);
99102
System.out.println(result);
100103
} catch (ApiException e) {
101104
System.err.println("Exception when calling ProjectApi#getProjects");
@@ -109,7 +112,12 @@ public class Example {
109112
```
110113

111114
### Parameters
112-
This endpoint does not need any parameter.
115+
116+
Name | Type | Description | Notes
117+
------------- | ------------- | ------------- | -------------
118+
**pageAfter** | **String**| Page after | [optional]
119+
**pageBefore** | **String**| Page before | [optional]
120+
**pageSize** | **Integer**| Page size | [optional]
113121

114122
### Return type
115123

docs/QueryApi.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Method | HTTP request | Description
1414

1515
<a name="getQueriesByProject"></a>
1616
# **getQueriesByProject**
17-
> List&lt;Query&gt; getQueriesByProject(projectId)
17+
> List&lt;Query&gt; getQueriesByProject(projectId, pageAfter, pageBefore, pageSize)
1818
1919
Get queries by project
2020

@@ -34,8 +34,11 @@ public class Example {
3434

3535
QueryApi apiInstance = new QueryApi(defaultClient);
3636
UUID projectId = new UUID(); // UUID | ID of the project
37+
String pageAfter = "pageAfter_example"; // String | Page after
38+
String pageBefore = "pageBefore_example"; // String | Page before
39+
Integer pageSize = 56; // Integer | Page size
3740
try {
38-
List<Query> result = apiInstance.getQueriesByProject(projectId);
41+
List<Query> result = apiInstance.getQueriesByProject(projectId, pageAfter, pageBefore, pageSize);
3942
System.out.println(result);
4043
} catch (ApiException e) {
4144
System.err.println("Exception when calling QueryApi#getQueriesByProject");
@@ -53,6 +56,9 @@ public class Example {
5356
Name | Type | Description | Notes
5457
------------- | ------------- | ------------- | -------------
5558
**projectId** | [**UUID**](.md)| ID of the project |
59+
**pageAfter** | **String**| Page after | [optional]
60+
**pageBefore** | **String**| Page before | [optional]
61+
**pageSize** | **Integer**| Page size | [optional]
5662

5763
### Return type
5864

@@ -199,7 +205,7 @@ No authorization required
199205
### HTTP request headers
200206

201207
- **Content-Type**: application/json
202-
- **Accept**: application/ld+json, application/json
208+
- **Accept**: application/json, application/ld+json
203209

204210
### HTTP response details
205211
| Status code | Description | Response headers |
@@ -267,7 +273,7 @@ No authorization required
267273
### HTTP request headers
268274

269275
- **Content-Type**: Not defined
270-
- **Accept**: application/ld+json, application/json
276+
- **Accept**: application/json, application/ld+json
271277

272278
### HTTP response details
273279
| Status code | Description | Response headers |
@@ -337,7 +343,7 @@ No authorization required
337343
### HTTP request headers
338344

339345
- **Content-Type**: application/json
340-
- **Accept**: application/ld+json, application/json
346+
- **Accept**: application/json, application/ld+json
341347

342348
### HTTP response details
343349
| Status code | Description | Response headers |

docs/RelationshipApi.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Method | HTTP request | Description
99

1010
<a name="getRelationshipsByProjectCommitRelatedElement"></a>
1111
# **getRelationshipsByProjectCommitRelatedElement**
12-
> List&lt;Relationship&gt; getRelationshipsByProjectCommitRelatedElement(projectId, commitId, relatedElementId, direction)
12+
> List&lt;Relationship&gt; getRelationshipsByProjectCommitRelatedElement(projectId, commitId, relatedElementId, direction, pageAfter, pageBefore, pageSize)
1313
1414
Get relationships by project, commit, and related element
1515

@@ -32,8 +32,11 @@ public class Example {
3232
UUID commitId = new UUID(); // UUID | ID of the commit
3333
UUID relatedElementId = new UUID(); // UUID | ID of the related element
3434
String direction = "both"; // String | Filter for relationships that are incoming (in), outgoing (out), or both relative to the related element
35+
String pageAfter = "pageAfter_example"; // String | Page after
36+
String pageBefore = "pageBefore_example"; // String | Page before
37+
Integer pageSize = 56; // Integer | Page size
3538
try {
36-
List<Relationship> result = apiInstance.getRelationshipsByProjectCommitRelatedElement(projectId, commitId, relatedElementId, direction);
39+
List<Relationship> result = apiInstance.getRelationshipsByProjectCommitRelatedElement(projectId, commitId, relatedElementId, direction, pageAfter, pageBefore, pageSize);
3740
System.out.println(result);
3841
} catch (ApiException e) {
3942
System.err.println("Exception when calling RelationshipApi#getRelationshipsByProjectCommitRelatedElement");
@@ -54,6 +57,9 @@ Name | Type | Description | Notes
5457
**commitId** | [**UUID**](.md)| ID of the commit |
5558
**relatedElementId** | [**UUID**](.md)| ID of the related element |
5659
**direction** | **String**| Filter for relationships that are incoming (in), outgoing (out), or both relative to the related element | [optional] [default to both] [enum: in, out, both]
60+
**pageAfter** | **String**| Page after | [optional]
61+
**pageBefore** | **String**| Page before | [optional]
62+
**pageSize** | **Integer**| Page size | [optional]
5763

5864
### Return type
5965

@@ -66,7 +72,7 @@ No authorization required
6672
### HTTP request headers
6773

6874
- **Content-Type**: Not defined
69-
- **Accept**: application/ld+json, application/json
75+
- **Accept**: application/json, application/ld+json
7076

7177
### HTTP response details
7278
| Status code | Description | Response headers |

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>sysml-v2-api-client</artifactId>
66
<packaging>jar</packaging>
77
<name>sysml-v2-api-client</name>
8-
<version>2020-09</version>
8+
<version>2021-03</version>
99
<url>https://github.com/openapitools/openapi-generator</url>
1010
<description>OpenAPI Java</description>
1111
<scm>

src/main/java/org/omg/sysml/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ private void init() {
108108
json = new JSON();
109109

110110
// Set default User-Agent.
111-
setUserAgent("OpenAPI-Generator/2020-09/java");
111+
setUserAgent("OpenAPI-Generator/2021-03/java");
112112

113113
authentications = new HashMap<String, Authentication>();
114114
}

0 commit comments

Comments
 (0)