Skip to content

Webapi-Swagger : Restructure generation of Types from Swagger doc. #31

@kahlil29

Description

@kahlil29

This change involves breaking down the generated types into modules.
The planned structure would look like :

New Types Generation Directory Structure

Some things we need to take care of while implementing this change :

  • All imports will be qualified (even in Contract.hs)
  • The modules in GlobalDefinitions would need to be imported into all (all routes, all methods) other Types.hs files.
  • In ResponseDefinitions.hs , we would also need to generate the Header types (if any are specified in the Swagger Doc) for the global response types (if any)
  • We need to take care that while generating the Contract, we are referring to the correct types at correct places (correct qualification) especially for Params.

Metadata

Metadata

Assignees

Labels

Webapi-SwaggerAll issues related to Webapi-swagger (generation of Webapi contracts from Swagger Docs)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions