Details
-
Task
-
Status: Resolved
-
Medium
-
Resolution: Done
-
None
Description
We interact with OpenApiObject in unfortunate way:
- we are creating OpenApiObject.Builder several times
- then we are mutating schemas
- then we are mutating paths
- we are relying on side effects (fillDoc method returning void)
We can make better if we try to rework our logic to prepare schemas ans paths beforehand and then just create one OpenApiObject instance.