Hi Everyone, We use the following dependencies:
<dependency> <groupId>io.swagger</groupId> <artifactId>swagger-models</artifactId> <version>1.5.13</version> </dependency> <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-core</artifactId> <version>1.5.13</version> </dependency> The problem is that the swagger 2.0 file generated seems to be invalid, because when i try to import it in http://editor.swagger.io/#!/ It throw me this error: code: "OBJECT_MISSING_REQUIRED_PROPERTY" message: "Missing required property: items" path: Array [5] 0: "paths" 1: "/anendpoint" 2: "get" 3: "parameters" 4: "2" And here is the json file related to this issue "/anendpoint" : { "get" : { "tags" : [ "TagsTest" ], "summary" : "Retrieves Tests.", "produces" : [ "application/json; charset=utf-8" ], "parameters" : [ { "name" : "If-Modified-Since", "in" : "header", "description" : "If the requested variant has not been modified since the time specified in this field, an entity will not be returned from the server; instead, a 304 (not modified) response will be returned without any message-body.", "required" : false, "type" : "string", "format" : "date-time" }, { "name" : "includeDeleted", "in" : "query", "description" : "Whether deleted entities should be included in the response.", "required" : false, "type" : "boolean" }, { "name" : "fields", "in" : "query", "description" : "Names of the fields that should be included in the response.", "required" : false, "type" : "array", "collectionFormat" : "multi" }, { "name" : "includeDeletedActions", "in" : "query", "description" : "Whether to include deleted actions in the response", "required" : false, "type" : "boolean" } ], "responses" : { "200" : { "description" : "List of Testss.", "schema" : { "$ref" : "#/definitions/anendpoint_EndpointCollectionResource" } } } }, "post" : { "tags" : [ "TagsTest" ], "summary" : "Creates an .", "consumes" : [ "application/json; charset=utf-8" ], "produces" : [ "application/json; charset=utf-8" ], "parameters" : [ { "in" : "body", "name" : "payload", "description" : "Tests update request.", "required" : false, "schema" : { "$ref" : "#/definitions/anendpoint_EndpointUpdateResource" } } ], "responses" : { "200" : { "description" : "An Tests.", "schema" : { "$ref" : "#/definitions/anendpoint_EndpointResource" } } } }, "delete" : { "tags" : [ "TagsTest" ], "summary" : "Archives (s).", "consumes" : [ "application/json; charset=utf-8" ], "produces" : [ "application/json; charset=utf-8" ], "parameters" : [ { "in" : "body", "name" : "payload", "description" : "Collection of UUIDs", "required" : false, "schema" : { "$ref" : "#/definitions/common_UuidCollectionResource" } } ], "responses" : { "200" : { "description" : "A result of archive operation.", "schema" : { "$ref" : "#/definitions/core_archive_ArchiveResultResource" } } } } }, If anyone could help me figuring out what is this items needed here, it would be great. Thanks a lot -- 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.