Boavizta / boaviztapi

🛠 Giving access to BOAVIZTA reference data and methodologies trough a RESTful API
GNU Affero General Public License v3.0
68 stars 23 forks source link

Internal component class in component route #64

Closed da-ekchajzer closed 2 years ago

da-ekchajzer commented 2 years ago

Bug description

Component route consumes internal components class instead of DTO. http://api.boavizta.org:5000/docs ⇾ Schemas

Component* Objects should be internal objects. External object should be DTOs.

Expected behavior

Component route should consume component DTO