`double` is not a valid type, so you can’t use it. 

If you want to simulate `double`, take a look at 
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types.

 

 

 

From: <swagger-swaggersocket@googlegroups.com> on behalf of Vasiliy 
<kalinovs...@gmail.com>
Reply-To: "swagger-swaggersocket@googlegroups.com" 
<swagger-swaggersocket@googlegroups.com>
Date: Wednesday, October 25, 2017 at 05:58
To: Swagger <swagger-swaggersocket@googlegroups.com>
Subject: How to suppress Errors in swagger

 

Hi! 

I want double type of variables in description. But Swagger editor supports 
only 'number' type and show Error window when i use double type.

Maybe it is possible to suppress showing of errors in Swagger editor?

This code leads to error

 

- name: Limit

          in: query

          description: 'Processing lowerLimit limit.'

          required: true

          type: double

          format: uuid

 

 

Thanks

-- 
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+unsubscr...@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-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to