How to make all fields by default required?

21 views
Skip to first unread message

Alex Oberon

unread,
Oct 24, 2016, 10:02:38 AM10/24/16
to Swagger
How to make all fields by default required and only java Optional to be optional?

Ron Ratovsky

unread,
Oct 24, 2016, 3:08:17 PM10/24/16
to swagger-sw...@googlegroups.com

If possible at all, that would depend on the libraries you use.

--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex Oberon

unread,
Oct 25, 2016, 4:16:40 AM10/25/16
to Swagger
Hi. I use springfox, it is spring boot mvc application.


On Monday, October 24, 2016 at 10:08:17 PM UTC+3, Ron wrote:

If possible at all, that would depend on the libraries you use.

 

 

 

From: <swagger-sw...@googlegroups.com> on behalf of Alex Oberon <alx.o...@gmail.com>
Reply-To: "swagger-sw...@googlegroups.com" <swagger-sw...@googlegroups.com>
Date: Monday, 24 October 2016 at 7:02
To: Swagger <swagger-sw...@googlegroups.com>
Subject: How to make all fields by default required?

 

How to make all fields by default required and only java Optional to be optional?

--
You received this message because you are subscribed to the Google Groups "Swagger" group.

To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsub...@googlegroups.com.

Ron Ratovsky

unread,
Oct 25, 2016, 2:48:24 PM10/25/16
to swagger-sw...@googlegroups.com

Then I’d suggest filing a ticket on Springfox asking them if they support it.

 

 

 

From: <swagger-sw...@googlegroups.com> on behalf of Alex Oberon <alx.o...@gmail.com>
Reply-To: "swagger-sw...@googlegroups.com" <swagger-sw...@googlegroups.com>
Date: Tuesday, 25 October 2016 at 1:16
To: Swagger <swagger-sw...@googlegroups.com>
Subject: Re: How to make all fields by default required?

 

Hi. I use springfox, it is spring boot mvc application.

On Monday, October 24, 2016 at 10:08:17 PM UTC+3, Ron wrote:

If possible at all, that would depend on the libraries you use.

 

 

 

From: <swagger-sw...@googlegroups.com> on behalf of Alex Oberon <alx.o...@gmail.com>
Reply-To: "swagger-sw...@googlegroups.com" <swagger-sw...@googlegroups.com>
Date: Monday, 24 October 2016 at 7:02
To: Swagger <swagger-sw...@googlegroups.com>
Subject: How to make all fields by default required?

 

How to make all fields by default required and only java Optional to be optional?

--
You received this message because you are subscribed to the Google Groups "Swagger" group.

To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

--

You received this message because you are subscribed to the Google Groups "Swagger" group.

To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages