Skip to content

Commit a27a659

Browse files
committed
Respect JavaBeans convention
1 parent 5c4dfc5 commit a27a659

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

api-model-v1-41/docs/ImageSearchResponseItem.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**description** | **kotlin.String** | | [optional]
8-
**isOfficial** | **kotlin.Boolean** | | [optional]
9-
**isAutomated** | **kotlin.Boolean** | Whether this repository has automated builds enabled. <p><br /></p> > **Deprecated**: This field is deprecated and will always > be \"false\" in future. | [optional]
8+
**official** | **kotlin.Boolean** | | [optional]
9+
**automated** | **kotlin.Boolean** | Whether this repository has automated builds enabled. <p><br /></p> > **Deprecated**: This field is deprecated and will always > be \"false\" in future. | [optional]
1010
**name** | **kotlin.String** | | [optional]
1111
**starCount** | **kotlin.Int** | | [optional]
1212

api-model-v1-41/openapi-generator-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ packageName: de.gesellix.docker.remote.api
77
apiPackage: de.gesellix.docker.remote.client.api
88
modelPackage: de.gesellix.docker.remote.api
99
enumPropertyNaming: PascalCase
10+
nameMappings:
11+
is_official: official
12+
is_automated: automated
1013
groupId: de.gesellix
1114
artifactId: docker-remote-api-model
1215
artifactVersion: 1.41

api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageSearchResponseItem.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import com.squareup.moshi.JsonClass
2222
*
2323
*
2424
* @param description
25-
* @param isOfficial
26-
* @param isAutomated Whether this repository has automated builds enabled. <p><br /></p> > **Deprecated**: This field is deprecated and will always > be \"false\" in future.
25+
* @param official
26+
* @param automated Whether this repository has automated builds enabled. <p><br /></p> > **Deprecated**: This field is deprecated and will always > be \"false\" in future.
2727
* @param name
2828
* @param starCount
2929
*/
@@ -35,11 +35,11 @@ data class ImageSearchResponseItem(
3535
var description: kotlin.String? = null,
3636

3737
@Json(name = "is_official")
38-
var isOfficial: kotlin.Boolean? = null,
38+
var official: kotlin.Boolean? = null,
3939

4040
/* Whether this repository has automated builds enabled. <p><br /></p> > **Deprecated**: This field is deprecated and will always > be \"false\" in future. */
4141
@Json(name = "is_automated")
42-
var isAutomated: kotlin.Boolean? = null,
42+
var automated: kotlin.Boolean? = null,
4343

4444
@Json(name = "name")
4545
var name: kotlin.String? = null,

0 commit comments

Comments
 (0)