Skip to content

Commit

Permalink
Respect JavaBeans convention
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellix committed Oct 12, 2023
1 parent 5c4dfc5 commit a27a659
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions api-model-v1-41/docs/ImageSearchResponseItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**description** | **kotlin.String** | | [optional]
**isOfficial** | **kotlin.Boolean** | | [optional]
**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]
**official** | **kotlin.Boolean** | | [optional]
**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]
**name** | **kotlin.String** | | [optional]
**starCount** | **kotlin.Int** | | [optional]

Expand Down
3 changes: 3 additions & 0 deletions api-model-v1-41/openapi-generator-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ packageName: de.gesellix.docker.remote.api
apiPackage: de.gesellix.docker.remote.client.api
modelPackage: de.gesellix.docker.remote.api
enumPropertyNaming: PascalCase
nameMappings:
is_official: official
is_automated: automated
groupId: de.gesellix
artifactId: docker-remote-api-model
artifactVersion: 1.41
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import com.squareup.moshi.JsonClass
*
*
* @param description
* @param isOfficial
* @param isAutomated Whether this repository has automated builds enabled. <p><br /></p> > **Deprecated**: This field is deprecated and will always > be \"false\" in future.
* @param official
* @param automated Whether this repository has automated builds enabled. <p><br /></p> > **Deprecated**: This field is deprecated and will always > be \"false\" in future.
* @param name
* @param starCount
*/
Expand All @@ -35,11 +35,11 @@ data class ImageSearchResponseItem(
var description: kotlin.String? = null,

@Json(name = "is_official")
var isOfficial: kotlin.Boolean? = null,
var official: kotlin.Boolean? = null,

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

@Json(name = "name")
var name: kotlin.String? = null,
Expand Down

0 comments on commit a27a659

Please sign in to comment.