-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Hi,
I don't know which project contains the example from http://petstore.swagger.io/v2/swagger.json, but I've found some inconsistencies that might need to be corrected:
- In
DELETE /store/order/{orderId}
theorderId
-parameter has aminimum
value set to1.0
, but thetype
isstring
. Is this possible in Swagger 2.0? The JSON-Schema-Spec says thatminimum
needs to be a number, so I would say, thattype
also needs to be a numeric type (i.e. integer, long, double or float) - In
GET /store/order/{orderId}
theorderId
-parameter is of typeinteger
(int64), the description text says "For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions", but the definition says{ minimum: 1.0, maximum: 5.0 }
. Is it even possible to define what the description says?
Metadata
Metadata
Assignees
Labels
No labels