-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
05c6a5e
commit 6e660f0
Showing
7 changed files
with
791 additions
and
601 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Bar.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package springfox.documentation.spring.web.dummy.models; | ||
|
||
import java.util.List; | ||
|
||
public class Bar { | ||
|
||
private Integer id; | ||
|
||
private String name; | ||
|
||
private List<Foo> foos; | ||
|
||
public Integer getId() { | ||
return id; | ||
} | ||
|
||
public void setId(Integer id) { | ||
this.id = id; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public List<Foo> getFoos() { | ||
return foos; | ||
} | ||
|
||
public void setFoos(List<Foo> foos) { | ||
this.foos = foos; | ||
} | ||
|
||
} |
25 changes: 25 additions & 0 deletions
25
springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Foo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package springfox.documentation.spring.web.dummy.models; | ||
|
||
public class Foo { | ||
|
||
private Integer id; | ||
|
||
private String name; | ||
|
||
public Integer getId() { | ||
return id; | ||
} | ||
|
||
public void setId(Integer id) { | ||
this.id = id; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
} |
25 changes: 25 additions & 0 deletions
25
...gfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Holder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package springfox.documentation.spring.web.dummy.models; | ||
|
||
public class Holder<T> { | ||
|
||
private T content; | ||
|
||
private Wrapper<T> wrapper; | ||
|
||
public T getContent() { | ||
return content; | ||
} | ||
|
||
public void setContent(T content) { | ||
this.content = content; | ||
} | ||
|
||
public Wrapper<T> getWrapper() { | ||
return wrapper; | ||
} | ||
|
||
public void setWrapper(Wrapper<T> wrapper) { | ||
this.wrapper = wrapper; | ||
} | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
...fox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Wrapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package springfox.documentation.spring.web.dummy.models; | ||
|
||
public class Wrapper<T> { | ||
|
||
private T object; | ||
|
||
public T getObject() { | ||
return object; | ||
} | ||
|
||
public void setObject(T object) { | ||
this.object = object; | ||
} | ||
|
||
} |
Oops, something went wrong.