Skip to content

Commit fdb48bf

Browse files
committed
commit changes and add missing interface
1 parent 0869730 commit fdb48bf

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

  • samples/server/petstore/kotlin-springboot-include-http-request-context-delegate/src/main/kotlin
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.some.pack
2+
3+
interface WithPhotoUrls {
4+
val photoUrls: kotlin.collections.List<kotlin.String>
5+
}

samples/server/petstore/kotlin-springboot-include-http-request-context-delegate/src/main/kotlin/org/openapitools/model/Pet.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ import io.swagger.annotations.ApiModelProperty
4141
JsonSubTypes.Type(value = Dog::class, name = "Dog")
4242
)
4343

44-
interface Pet : com.some.pack.Named, com.some.pack.WithCategory, com.some.pack.WithDefaultMethods, java.io.Serializable {
44+
interface Pet : com.some.pack.Named, com.some.pack.WithCategory, com.some.pack.WithDefaultMethods, com.some.pack.WithPhotoUrls, java.io.Serializable {
4545

4646
@get:ApiModelProperty(example = "null", required = true, value = "")
4747
override val name: kotlin.String
4848

4949

5050
@get:ApiModelProperty(example = "null", required = true, value = "")
51-
val photoUrls: kotlin.collections.List<kotlin.String>
51+
override val photoUrls: kotlin.collections.List<kotlin.String>
5252

5353

5454
@get:ApiModelProperty(example = "null", required = true, value = "")

0 commit comments

Comments
 (0)