@PostMapping("/insertOrUpdate")
    public ShenyuAdminResult createOrUpdate(@Valid @RequestBody final NamespaceDTO namespaceDTO) {
        return ShenyuAdminResult.success(ShenyuResultMessage.SUCCESS, namespaceService.createOrUpdate(namespaceDTO));
    }
Insert or update namespace.

@param namespaceDTO {@link NamespaceDTO}
@return {@linkplain ShenyuAdminResult}
shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/NamespaceController.java