When using the REST API classes for building services on a spec-first approach, the implementation class methods are usually built this format:
ClassMethod <method-name>(body As %DynamicObject) As %Stream.ObjectBut sometimes it keeps building the endpoint implementation method like this:
ClassMethod <method-name>(body As %Stream.Object) As %DynamicObjectIt has been a problem because the rest of my implementation rely on the fact that the "body" object is a DynamicObject.
The REST spec is exactly the same for all endpoints, but this last it built keeps presenting this problem.
.png)


.png)