webapi
webapi copied to clipboard
WAI based library for web api
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`....
Delete all contents (if any) at the location of the `FilePath` given before generation so that any existing generated code is removed.
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)
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...
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...
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...
This change involves breaking down the generated types into modules. The planned structure would look like :  Some things we need to take care...
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...
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...
`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...