Skip to content

Commit

Permalink
add instruction for supporting play java (#312)
Browse files Browse the repository at this point in the history
* Update README.md

* Update README.md

* Update README.md
  • Loading branch information
thirdteeth committed Jan 29, 2020
1 parent 75715b9 commit f23bb5b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -347,4 +347,8 @@ POST /tracks controller.Api.createTrack()

#### Is play java supported?

Mostly. Auto definition generation for classes only works with Java classes that have all the fields in the first constructor.
you can generate models definition from java POJO by setting the flag:
```
playJava := true
```
The flag only suport PlayJava 2.7 and 2.8

2 comments on commit f23bb5b

@lapidus79
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm isn''t the parameter called swaggerPlayJava?

@prouzpe3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure it is.

Please sign in to comment.