forked from Qortal/qortal
Cleaned up responses from /addresses/* endpoints in that some return text/plain instead of application/json. Removed need for class-local copy of ApiErrorFactory in AddressesResource - using getInstance() instead. Some work still needs to be done on annotating API errors. API error examples in API UI rendered incorrectly - swagger-ui issue? Removed repository-accessing code from api.models.* Added /assets/order/{orderId} for fetching info on specific asset order. NOTE: AssetRepository.getOrdersTrades() now returns trades where order is initiating or target. (Previously was initiating order only). qora.assets.Order.orphan() updated to reflect above change. block-explorer.html fixed to use new API output.