Mathieu Barnachon

Results 28 issues of Mathieu Barnachon

This is required by the new version of the WebSocketService protocol. Also update dependencies to the community version of Kitura (moved away from IBM-Swift). This fixes a compilation issue with...

## Description Add the support for GET with an ID and optional query parameters. Supports the return of a single object or an array of objects. The parameters are only...

## Context and Description Kitura doesn't support GET with ID and query params, like this one: ```http GET /order/:user_id?page=2 ``` This is quite a standard pattern in REST and could...

## Description Implement a better generation of the OpenAPI date type through the use of `format` for String. It is defined by: https://swagger.io/docs/specification/data-models/data-types/#string Use `date-time` for iso8601. Use `date-time` for...

Add a new codable route for POST with no object as input. ## Description This allows to create a resource without arguments, like this: ``` router.post("/resource") { (respondWith: (Resource?, RequestError?)...

Allow to reset the buffer before sending the response. This is an alternate proposition to #1551 WIP, no tests until it is set relevant. ## Description When sending a response...

Allow to reset the buffer before sending the response. ## Description When sending a response using `.send`, the body content is inaccessible. But sometimes, it makes sense to reset the...

## Context and Description The `SwaggerDocument` structure has not been documented when moving to public. The constructor also needs documentation. see `SwaggerGenerator.swift` lines 351 & 376.

Make the middlewares documentation aware Add optional getters to the middleware to document better your code. Keep 100% compatibility with Swagger 2.0 documentation. ## Description Generate an OpenAPI 3.0.x documentation...

## Context and Description When using compiling Kitura with Swift NIO, the connections are not released. This can be easily demonstrated with a simple application limiting the number of simultaneous...