Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Intro

After adding modularity to the backend template template we can divide spec(with swaggerspec.xml) and api. Spec is a general specification of for our entire API that cont

The purpose of this division is move define server information, swagger, general dtos, enums, constraints, constraint's messages into a separate module


...


Structure

module consists of:

  • resources
  • shared


Resources have general responses/requests which can be used in other modules and contained in this way(spec/__def__/models) 

Image Added

Next we have