LoginSignup
0

More than 5 years have passed since last update.

DropwizardでSwaggerを使う場合の注意点

Posted at

こっちは更新が止まっているようなので、フォークされた方を使った方が良さそう。

更新が止まっている方のつらいやつ

environment.getObjectMapper().setSerializationInclusion(JsonInclude.Include.NON_NULL);

Jacksonで値がnullになっているキーを除去する設定をするようになっている。。

以前見たときに、IssueだかPullRequest上がっていた気がしたけど見つけられなかった。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0