webapi icon indicating copy to clipboard operation
webapi copied to clipboard

WAI based library for web api

Results 28 webapi issues
Sort by recently updated
recently updated
newest added

In this case, the endpoint would be just the base url. We need to discuss how Webapi would handle this and consequently how we will be handling this in `webapi-swagger`....

Webapi-Swagger
Needs Discussion

Delete all contents (if any) at the location of the `FilePath` given before generation so that any existing generated code is removed.

enhancement
Webapi-Swagger
New State & Types (Migration)

Import Global Type (Definition) module as qualified and generated Types used from this module as qualified. Also remove unnecessary imports (Lens, other imports for instances)

Webapi-Swagger
New State & Types (Migration)

Add the original name of a type/object as it appears in the `Swagger` (2.0) doc. This is done in order to preserve the original name for the instances that we...

Webapi-Swagger

In the GitHub Swagger [File](https://github.com/APIs-guru/openapi-directory/blob/master/APIs/github.com/v3/swagger.yaml#L4113), we encountered a Path with the following format : ``` '/repos/{owner}/{repo}/compare/{baseId}...{headId}': ``` This is quite a special case and the code is currently not configured...

Webapi-Swagger
Needs Discussion
Dependent

As per the Swagger 2.0 spec, [Responses](https://swagger.io/docs/specification/2-0/describing-responses/) (Reusing Responses sub-section) can be defined as `Inline` (already currently handled) or `Referenced`. If `Referenced`, they can be referencing either defined types in...

Webapi-Swagger

This change involves breaking down the generated types into modules. The planned structure would look like : ![New Types Generation Directory Structure ](https://user-images.githubusercontent.com/8135917/55333714-7cbbb180-54b5-11e9-8d67-3aeb1cf4e217.png) Some things we need to take care...

Webapi-Swagger

There are 3 (possible) Global Types modules that could be generated. 1. Definitions 2. Responses 3. Params All 3 could be potentially empty (most likely Responses and/or Params) If they...

Webapi-Swagger

Due to a lack of the `Generic` typeclass, we have defined an identical `StdMethod` data types that derives the `Generic` typeclass. This change has been made in the `Network.HTTP.Types` package...

Webapi-Swagger
Dependent

`SwaggerItemsArray` seems to be a case where there are tuple `Schemas` It seems like the current implementation does not really look towards handling this case. We would need to think/discuss...

Webapi-Swagger
Needs Discussion