File tree Expand file tree Collapse file tree
samples/server/petstore/springboot-x-implements-skip/src/main/java/com/custompackage Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- package org . openapitools . model ;
1+ package com . custompackage ;
22
3- import java .net .URI ;
4- import java .util .Objects ;
3+ public interface InterfaceToKeep {
54
6- import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
7- import com .fasterxml .jackson .annotation .JsonProperty ;
8- import com .fasterxml .jackson .annotation .JsonCreator ;
9- import com .fasterxml .jackson .annotation .JsonSubTypes ;
10- import com .fasterxml .jackson .annotation .JsonTypeInfo ;
11- import com .fasterxml .jackson .annotation .JsonTypeName ;
12- import io .swagger .annotations .ApiModel ;
13- import io .swagger .annotations .ApiModelProperty ;
14-
15- import org .springframework .lang .Nullable ;
16-
17- import org .openapitools .jackson .nullable .JsonNullable ;
18-
19- import java .time .OffsetDateTime ;
20-
21- import javax .validation .Valid ;
22- import javax .validation .constraints .*;
23-
24- import java .util .*;
25-
26- import javax .annotation .Generated ;
27-
28- interface InterfaceToKeep {
295}
306
Original file line number Diff line number Diff line change 1- package org . openapitools . model ;
1+ package com . custompackage ;
22
3- import java .net .URI ;
4- import java .util .Objects ;
5-
6- import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
7- import com .fasterxml .jackson .annotation .JsonProperty ;
8- import com .fasterxml .jackson .annotation .JsonCreator ;
9- import com .fasterxml .jackson .annotation .JsonSubTypes ;
10- import com .fasterxml .jackson .annotation .JsonTypeInfo ;
11- import com .fasterxml .jackson .annotation .JsonTypeName ;
12- import io .swagger .annotations .ApiModel ;
13- import io .swagger .annotations .ApiModelProperty ;
14-
15- import org .springframework .lang .Nullable ;
16-
17- import org .openapitools .jackson .nullable .JsonNullable ;
18-
19- import java .time .OffsetDateTime ;
20-
21- import javax .validation .Valid ;
22- import javax .validation .constraints .*;
23-
24- import java .util .*;
25-
26- import javax .annotation .Generated ;
27-
28- interface WithBar {
3+ public interface WithBar {
294
305 public String getBar ();
316
Original file line number Diff line number Diff line change 1- package org . openapitools . model ;
1+ package com . custompackage ;
22
3- import java .net .URI ;
4- import java .util .Objects ;
5-
6- import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
7- import com .fasterxml .jackson .annotation .JsonProperty ;
8- import com .fasterxml .jackson .annotation .JsonCreator ;
9- import com .fasterxml .jackson .annotation .JsonSubTypes ;
10- import com .fasterxml .jackson .annotation .JsonTypeInfo ;
11- import com .fasterxml .jackson .annotation .JsonTypeName ;
12- import io .swagger .annotations .ApiModel ;
13- import io .swagger .annotations .ApiModelProperty ;
14-
15- import org .springframework .lang .Nullable ;
16-
17- import org .openapitools .jackson .nullable .JsonNullable ;
18-
19- import java .time .OffsetDateTime ;
20-
21- import javax .validation .Valid ;
22- import javax .validation .constraints .*;
23-
24- import java .util .*;
25-
26- import javax .annotation .Generated ;
27-
28- interface WithColor {
3+ public interface WithColor {
294
305 public String getColor ();
316
Original file line number Diff line number Diff line change 1- package org . openapitools . model ;
1+ package com . custompackage ;
22
3- import java .net .URI ;
4- import java .util .Objects ;
5-
6- import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
7- import com .fasterxml .jackson .annotation .JsonProperty ;
8- import com .fasterxml .jackson .annotation .JsonCreator ;
9- import com .fasterxml .jackson .annotation .JsonSubTypes ;
10- import com .fasterxml .jackson .annotation .JsonTypeInfo ;
11- import com .fasterxml .jackson .annotation .JsonTypeName ;
12- import io .swagger .annotations .ApiModel ;
13- import io .swagger .annotations .ApiModelProperty ;
14-
15- import org .springframework .lang .Nullable ;
16-
17- import org .openapitools .jackson .nullable .JsonNullable ;
18-
19- import java .time .OffsetDateTime ;
20-
21- import javax .validation .Valid ;
22- import javax .validation .constraints .*;
23-
24- import java .util .*;
25-
26- import javax .annotation .Generated ;
27-
28- interface WithDefaultMethod {
3+ public interface WithDefaultMethod {
294
305 default String greet (String name ) {
316 return "Hello, " + name + "!" ;
You can’t perform that action at this time.
0 commit comments