Intro

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

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




Structure

module consists of:


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

Next we have